Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I am trying to create a clustered column chart that shows the count of each score from 9 different categories:
SAF W M SYS ERM ENV COM ET SCH
| E | HE | E | HE | E | E | E | E | E |
| HE | E | HE | E | E | E | HE | E | E |
| E | NE | E | NE | NE | E | E | E | E |
| E | E | E | E | E | E | HE | E | E |
| E | E | E | E | HE | E | HE | HE | E |
| NE | E | E | E | E | E | E | E | E |
| NE | E | E | E | E | E | HE | E | E |
| E | E | E | NE | E | E | E | E | E |
| E | NE | E | NE | E | E | E | HE | E |
| NE | HE | E | E | HE | E | E | E | E |
| E | NE | E | NE | NE | E | E | E | E |
| E | E | E | E | HE | E | E | E | E |
| NE | NE | NE | NE | E | E | E | E | E |
| E | NE | E | NE | NE | E | E | E | E |
| E | NE | HE | E | E | E | E | E | E |
| E | E | E | E | HE | E | E | E | E |
| E | NE | E | E | E | E | NE | E | E |
| E | E | E | NE | HE | E | NE | HE | E |
| NE | E | E | E | E | E | E | E | E |
| E | NE | E | E | E | E | E | E | E |
| E | NE | E | E | E | E | E | E | E |
| E | E | E | E | E | E | HE | E | NE |
| NE | NE | E | E | HE | E | E | NE | E |
| E | E | E | E | E | E | E | HE | E |
| NE | E | E | E | E | E | E | E | E |
| NE | NE | E | E | E | E | NE | E | E |
| NE | E | E | NE | E | E | HE | NE | E |
| E | E | E | NE | E | E | E | NE | NE |
| E | E | E | E | E | E | E | HE | E |
| E | E | HE | NE | E | E | E | E | E |
| NE | E | E | E | NE | E | E | E | E |
| NE | E | E | E | HE | E | E | E | E |
| E | E | E | E | E | E | NE | E | E |
| E | E | E | E | NE | E | E | E | NE |
| E | E | E | HE | E | E | E | E | E |
| E | NE | E | E | E | E | NE | E | E |
| NE | E | E | E | E | E | E | HE | E |
| E | E | E | NE | E | E | E | E | E |
| HE | E | E | E | E | E | E | E | E |
| E | US | E | NE | NE | E | E | E | E |
| E | NE | E | E | E | E | HE | E | E |
| E | E | E | E | E | E | E | E | E |
| NE | E | E | E | E | E | E | E | E |
| E | E | E | NE | E | E | E | HE | E |
| E | US | E | NE | NE | E | E | E | E |
| US | NE | E | E | E | E | E | E | E |
| E | E | E | E | E | E | NE | E | E |
| E | NE | E | E | E | E | E | E | E |
| NE | E | E | E | HE | E | E | E | E |
| NE | E | E | NE | E | E | E | E | E |
| E | E | NE | NE | E | E | E | E | E |
| E | E | HE | E | HE | E | E | E | E |
| NE | E | E | E | E | E | E | E | E |
| NE | E | E | E | E | E | E | E | E |
| E | E | E | E | E | E | NE | E | E |
| NE | E | E | E | E | E | E | E | E |
| E | HE | E | E | E | E | HE | E | E |
| NE | NE | E | NE | E | E | E | NE | E |
| E | E | E | E | HE | E | E | E | E |
| E | E | E | E | E | E | E | E | E |
| E | HE | E | E | E | E | E | E | E |
| E | N | E | E | E | E | E | NE | E |
| HE | E | E | E | E | E | NE | E | E |
| E | E | E | E | E | E | E | E | E |
| E | US | E | E | E | E | E | NE | E |
| HE | E | HE | E | E | E | E | E | E |
| NE | E | E | E | E | E | E | E | E |
| E | E | HE | E | E | E | E | E | E |
| NE | US | E | E | NE | E | E | E | E |
| E | E | E | NE | E | E | E | NE | E |
| NE | E | E | E | E | E | E | E | E |
| NE | E | HE | E | E | E | E | E | E |
| NE | E | HE | NE | E | E | E | E | E |
| NE | E | E | E | E | E | NE | E | E |
| NE | E | HE | NE | E | E | E | E | E |
| US | E | E | HE | E | E | E | E | E |
| E | US | E | NE | NE | E | E | E | E |
| NE | E | E | E | E | E | HE | HE | E |
| NE | E | E | NE | E | E | E | E | E |
I've tried pivoting, unpivoting, summarizing, creating measures that count the 5 scores (HE, E, N, NE, US) in each category and then throwing them all into the various fields but it never turns out how I want it. I want the categories (top) to be on the axis, and a count of the various scores for each category to be the bars. How can I achieve this? Thanks!
Solved! Go to Solution.
Hi @Anonymous,
For your requirement, you could unpivot all your columns and change the Attribute to Category then you will get the table like this .
Then you could create the measures below.
E = CALCULATE(COUNT(Table1[Value]),FILTER('Table1','Table1'[Value]="E"))
HE = CALCULATE(COUNT(Table1[Value]),FILTER('Table1','Table1'[Value]="HE"))
N = CALCULATE(COUNT(Table1[Value]),FILTER('Table1','Table1'[Value]="N"))
NE = CALCULATE(COUNT(Table1[Value]),FILTER('Table1','Table1'[Value]="NE"))
US = CALCULATE(COUNT(Table1[Value]),FILTER('Table1','Table1'[Value]="US"))
Then you could create the visual below.
More details, please refer to this attachment.
Best Regards,
Cherry
Hi @Anonymous,
For your requirement, you could unpivot all your columns and change the Attribute to Category then you will get the table like this .
Then you could create the measures below.
E = CALCULATE(COUNT(Table1[Value]),FILTER('Table1','Table1'[Value]="E"))
HE = CALCULATE(COUNT(Table1[Value]),FILTER('Table1','Table1'[Value]="HE"))
N = CALCULATE(COUNT(Table1[Value]),FILTER('Table1','Table1'[Value]="N"))
NE = CALCULATE(COUNT(Table1[Value]),FILTER('Table1','Table1'[Value]="NE"))
US = CALCULATE(COUNT(Table1[Value]),FILTER('Table1','Table1'[Value]="US"))
Then you could create the visual below.
More details, please refer to this attachment.
Best Regards,
Cherry
v-piga-msft That worked! Thank you so much!
Hi @Anonymous ,
It's glad that we can help.
Please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
Best Regards,
Cherry
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 66 | |
| 45 | |
| 42 | |
| 28 | |
| 18 |
| User | Count |
|---|---|
| 200 | |
| 125 | |
| 102 | |
| 69 | |
| 53 |