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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
sks0145
New Member

Bucketing on Aggregate measures

I am looking to bucket on aggregated measures:

 

I have a dataset like

 

State, County, City, Winery

OR, multhnoma, portland, abc

OR, multhnoma, portland, bcd

OR, multhnoma, portland, cde

ME, cumberland, portland, xyz

ME, cumberland, portland, zyx

CA, Santaclara, sunnyvale, abc

CA, Santaclara, sunnyvale,bcd

CA, Santaclara, sunnyvale, cde

TX, dallas, sunnyvale, xyz

 

 

I am looking: for

 

City_Buckets, #of_wineries

Top 10, 3

Top 20, 5

 

 

2 REPLIES 2
v-henryk-mstf
Community Support
Community Support

Hi @sks0145 ,

 

As Mark said, the given dataset cannot be calculated for Top 10, 3 and Top 20, 5. Can you further describe your requirements so that I can answer them for you as soon as possible.

How to Get Your Question Answered Quickly - Microsoft Power BI Community


Looking forward to your reply.


Best Regards,
Henry

 

MFelix
Super User
Super User

Hi @sks0145 ,

 

Can you please elaborate a little better on how you are getting this calculation? On your dataset you present 9 values but then you get top 10 - 3 and top 20 - 5 even if I do a count of your mockup data I get 5 differente winnerys.

 

Is the measure only the count of the wineries? Is this count based on the count per city only?

 

If you can provide a little more insigth on the final result would be appreciated.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português





Helpful resources

Announcements
Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.