Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Counting Across Columns

I have this table:

1.PNG

 

How do I go about:

1. Counting the total amount of all replies by manager (very happy + happy + unhappy etc.)

2. Bucketing the counts by category (count of happy, count of unhappy, etc.) by manager

3. Counting total number of all replies regardless of manager (total number of survey responses)

4. Bucketing total counts by category regardless of manager (count of happy, count of unhappy, etc.)

 

I'm eventually looking to make some kind of table/matrix that shows by account manager the number of each they have in comparison to the total. So for example the ending result on a small scale would look something like:

 

Cathy Butler across all categories has 25 "happy" responses

Ryan Cundiff across all categories has 20 "happy" responses

There are a total of 500 responses between all managers regardless of whether it's happy/unhappy/in between so these two together would account for 9% of all happy responses (45/500)

 

Thanks!

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

You might considering unpivoting all of the columns except the first.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

You might considering unpivoting all of the columns except the first.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

@Greg_Deckler That was all I needed. Thanks!

Awesome! 🙂



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.