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
Anonymous
Not applicable

Need help grouping filtered columns into numeric ranges

I have a table showing:

 

THAONGUYEN6_0-1670271120252.png

and I want to be able to filter in my report by contractor and get the sum of the rows like below: 

 

THAONGUYEN6_1-1670271164934.png

 

and I would like to put these into buckets of ranges like below:

 

THAONGUYEN6_2-1670271193854.png

 

 

So far, I've created a table (not sure if this is correct):

THAONGUYEN6_3-1670271244074.png

 

but I'm having trouble with the next steps.

 

This was the closest guide I could find but it does not work form. Not sure if it is correct: https://www.burningsuit.co.uk/blog/dax-how-group-measures-numeric-ranges

 

thank you

 

 

6 REPLIES 6
ryan_mayu
Super User
Super User

@Anonymous 

pls check if this is what you want

1.PNG





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

Proud to be a Super User!




Anonymous
Not applicable

It should be 8 results for 1-5 and 2 results for 5-10. Sorry for my typo, it should say 10 not 100.

i didn't copy paste all your data since it's a screenshot. you can try my solution on your own data.





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

Proud to be a Super User!




Anonymous
Not applicable

apologies, i didn't see the attached pbix file. I tried to use it in my own data but it did not sum up the totals per contractor, and instead shows one total in one range.

THAONGUYEN6_0-1670427153828.png

each contractor line only shows a value of of one, but there are multiple rows for each contractor. i need it to sum each of the contractors value's and then bucket them into the ranges. do i just use a simple sum equation?

 

you can try this

Measure 2 = sumx('Table (2)',[Measure])
1.PNG




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

Proud to be a Super User!




Anonymous
Not applicable

sorry for the late reply, that does not work either. 

 

THAONGUYEN6_1-1671462405298.png

 

 

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.

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.