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

DAX - value of suppliers by band

Hello, 

 

I have data with 800+ suppliers as below which I want to group into irregular banding.

 

daniel_harvey_3-1661333869889.png

So far I have set up the following table:

 

daniel_harvey_0-1661333583636.png

And added the following new measure

daniel_harvey_1-1661333621618.png

Which gives me this

daniel_harvey_2-1661333674279.png

What I want though is a total value in the last column based on the banding so it will show the total value of spend for all suppliers between MinValueRange and MaxValueRange for example total value of spend with suppliers between £10,000 to £25,000.

 

Any suggesions on how I can achieve this?

 

Thank you

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , I think you are trying something similar, check for the correct code

 

Dynamic Segmentation Bucketing Binning
https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1387187#M626


Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@amitchandak thanks for this I have managed to adapt it and get it to do what I want.

 

Cheers

amitchandak
Super User
Super User

@Anonymous , I think you are trying something similar, check for the correct code

 

Dynamic Segmentation Bucketing Binning
https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1387187#M626


Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 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.