Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi!
I have a problem with the conditional formatting of a bar chart. Under data colors, it does not show the advanced controls option you would usually get. So I decided to make a calculated column that said the following:
Average Handling Color = IF([Handling Time] <= 5; 1; 0)
I am not that great at making calculated columns, so of course this did not work.
However, I saw a guy do the same thing but basically with a measure. I figured, worth a shot so I wrote the same thing in a measure. When I add the measure to the chart, it will give the correct result, but I cannot place the measure in the legend field in order to conditionally format it "manually", so to say.
Fields list
Bar chart with 1's of the measure
I assume I did something wrong with my calculated column or measure and that the solution is close but I cannot find something for the life of me.
Thanks in advance for the help!
Solved! Go to Solution.
hi, @Anonymous
1. Now conditional formatting of a bar chart still Under data colors.
Please move the mouse to the place as below:
2. If you want to use Conditional Formatting on Bar Chart, you could only drag one field into Value
For your case, don't drag Coloring into value, just use this measure for Conditional Formatting.
If you still have the problem, please share a simple sample pbix file and expected output.
Best Regards,
Lin
hi, @Anonymous
1. Now conditional formatting of a bar chart still Under data colors.
Please move the mouse to the place as below:
2. If you want to use Conditional Formatting on Bar Chart, you could only drag one field into Value
For your case, don't drag Coloring into value, just use this measure for Conditional Formatting.
If you still have the problem, please share a simple sample pbix file and expected output.
Best Regards,
Lin
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 37 | |
| 31 | |
| 27 | |
| 27 |