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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
anupampandey
Helper III
Helper III

plot a measure on chart

Hi Team,

 

I am having a measure which actually a range. I'm unable to plot this measure on chart. Below is the measure. 

 

Avg. Commission Bucket = SWITCH(TRUE(),[Avg. Commission]>=2500, "A",[Avg. Commission]>=1500,"B",
[Avg. Commission]>=1000, "C",
[Avg. Commission]>=750, "D","F")

 

What I want is to get the number of outlets against each bucket?

Could anyone help me on this please?

 

Thanks,

Anupam

3 REPLIES 3
v-jiascu-msft
Microsoft Employee
Microsoft Employee

@anupampandey

 

Hi,

 

Could you please tell me if your problem is solved? You can mark the right answer to help others if it's convenient for you.

Best Regards!


Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Dale,

 

My problem already get resolved. I had taken the solution as accepted. Today again I did accept solution as accepted.

Sorry for not responding in time.

 

 

Regards,

Anupam

v-jiascu-msft
Microsoft Employee
Microsoft Employee

@anupampandey

 

This formula looks more like a calculated column. Which chart do you want? If you want to use Stacked Column Chart, you can drag Avg. Commission Bucket to Axis and Value, then choose count.

 

 plot a measure on chart.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Best Regards!

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors