Forum Discussion

Nie's avatar
Nie
Icon for Helper I rankHelper I
4 years ago
Solved

Tabulating Count of Values

I have 2 columns A and B, that is part of a table with multiple other columns.  For example:

Column AColumn BColumn C
Column D
2A......
4B  
4C  
4A  
4B  
1B  
5C  
3A  
3A  

 

Column A is a count of the occurences in Column B. How do I go about consolidating the total count of each unique value in Column B such that I end up with:

 

A12
B9
C9

 

My primary objective is to display a histogram of the unique values in Column B.

 

2 Replies

    • Nie's avatar
      Nie
      Icon for Helper I rankHelper I

      Thank you. Initially, I kept getting a single aggregate, and consequently a single bar. Your graph helped me realised I need to also slice the measure using the unique values in Column B in my histogram. Because the unique values in my Column B have multiple occurences, I somehow assumed simply summing couldn't work and I would need some special calculation. Thanks for clarifying.