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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.