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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
EloiseS
New Member

Order Clustered Bar Chart

Hello,

 

I have a clustered bar chart which shows Actual Vs Budget per customer. 

Is there a way to order the bar chart based on the difference between Actual and Budget? For example if Customer C's Budget is £500 but their actual is only £100, this should appear ahead of Customer A on the chart who's budget is £700 and their actual is £650.

 

If this is at all possible, I'd be grateful for any advice. If I need to upload test data please let me know.

 

Thanks 🙂

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @EloiseS ,

 

The easiest way to do this is to create the columns you want to give calculations to, figure out the difference between budget and actual, and then add the newly created columns to the y-axis of the clustered bar chart as well, and sort them in ascending order.

differ = CustomerData[Actual] - CustomerData[Budget]

vkongfanfmsft_2-1706151118871.png

 

vkongfanfmsft_0-1706150810371.png

Then in the visual settings on the right side, find the corresponding bars and change the color of the bar chart to white or set its transparency to achieve the effect of hiding.

vkongfanfmsft_1-1706151089840.png

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @EloiseS ,

 

The easiest way to do this is to create the columns you want to give calculations to, figure out the difference between budget and actual, and then add the newly created columns to the y-axis of the clustered bar chart as well, and sort them in ascending order.

differ = CustomerData[Actual] - CustomerData[Budget]

vkongfanfmsft_2-1706151118871.png

 

vkongfanfmsft_0-1706150810371.png

Then in the visual settings on the right side, find the corresponding bars and change the color of the bar chart to white or set its transparency to achieve the effect of hiding.

vkongfanfmsft_1-1706151089840.png

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

Top Solution Authors