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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
SB_24
Regular Visitor

Counting Buckets

Hi All, 

 

I have the visual below that has the count on the y axis and subject names on the X axis. I am trying to count how many x values have a value of Y. 
Example 1 subject Name has a Y value of 8 , 5 subject names have a Y value of 6 , 1 subject name has a value of 5 etc. 

Please assist

SB_24_0-1678963326621.png

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

If I understand correctly, and you want to count categories repeating , then add a measure that counts categories (option 1 on attached pict) or
choose an aggregation on visual itself (option 2 on attached pict)
In other cases, please attach a sample file and a picture showing the desired result.
If I answered your question, please mark my post as solution, Appreciate your Kudos

Ritaf1983_1-1678974887996.png

 

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

2 REPLIES 2
Ritaf1983
Super User
Super User

If I understand correctly, and you want to count categories repeating , then add a measure that counts categories (option 1 on attached pict) or
choose an aggregation on visual itself (option 2 on attached pict)
In other cases, please attach a sample file and a picture showing the desired result.
If I answered your question, please mark my post as solution, Appreciate your Kudos

Ritaf1983_1-1678974887996.png

 

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Greg_Deckler
Community Champion
Community Champion

@SB_24 Sorry, having trouble following, can you post sample data as text and expected output?
Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882

Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.



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! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.