Jump to content

finding count of the unique rows values in a column


Vignesh Kannan

Recommended Posts

hi,

i have columns as shown below:

 

I want to find out : if column 1="A" then find column 2 is repeated how many times like below :Under A filter AB is repeated 2 times

 

 

 

column 1

column 2

calculation column

 

 

A

AB

2

 

 

B

AB

NA

 

 

A

AB

2

 

 

B

BC

NA

 

 

A

BC

3

 

 

B

BC

NA

 

 

A

BC

3

 

 

B

BC

NA

 

 

A

BC

3

Link to comment
Share on other sites

hi thanks for the solution,

 

i have one more clarification if i have only one column as shown below how to find unique values and repated values.

 

 

 

column 1 calculation column 
AB  First Row 
AB  Duplicates 
AB  Duplicates 
BC  First Row 
BC  Duplicates 
BC  Duplicates 
BC  Duplicates 
BC  Duplicates 
BC  Duplicates 

 

 

 

i tried to use the below  function  but doesn't work:

 

If(Rank(Baserowid(),"asc",[myGroup1])=1,"First row of group","Duplicate")

 

 

 

Link reference:https://support.tibco.com/s/article/Tibco-KnowledgeArticle-Article-42284

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...