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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
zakariaellaoui
Regular Visitor

Change ranges value ?

Hello Power BI Lovers ! 

 

I have a table with two columns : 

Salesman              Sales

Zak                        50$

Joseph                   100$

Fred                       32$

 

I want to be able to have a chart where I can see the number of salesman by specific ranges :  ' 0-50' and '51-101'...

The difficulty is that I want to be able to modify these "ranges" whenever I want, for example 0-50 => 1 - 49 instead. 

 

I tried to do this with measures, it worked, but I have more than 6 ranges and it can be confusing, can I store theses measures in a table for instance ? So it can be more clear for the users.

 

Thanks for your help ! 

Zakaria

 

1 ACCEPTED SOLUTION
vanessafvg
Super User
Super User

create the bands you want in a table.   So either new table in power query or dax and fill in the values you want to band on

then create a measure and link that to the banding.

 

here is the detail

 

http://exceleratorbi.com.au/banding-in-dax/

 

But im not sure that helps with change the values.

 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




View solution in original post

3 REPLIES 3
vanessafvg
Super User
Super User

create the bands you want in a table.   So either new table in power query or dax and fill in the values you want to band on

then create a measure and link that to the banding.

 

here is the detail

 

http://exceleratorbi.com.au/banding-in-dax/

 

But im not sure that helps with change the values.

 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Thanks a lot ! 

zakariaellaoui
Regular Visitor

Anyone please ?

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.