Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I need some help.
I'm using the string below to return positive numbers as green and negative numbers as red. When using a slicer the string below works perfectly but when selecting the value on a bar chart it doesn't?
Hi, @BeeFArmY
Thanks for @bhanu_gautam reply. Have you solved the problem? Typically, setting the color format is just as @bhanu_gautam describes, can you share pbix files without sensitive data for testing purposes (sharing by OneDrive or GoogleDrive).
Best Regards,
Yang
Community Support Team
@BeeFArmY ,Select your bar chart visualization.
In the Visualizations pane, click on the drop-down arrow next to the measure you want to format (e.g., [Variance Budget vs Actual]).
Select Conditional formatting and then Background color or Data colors (depending on your preference and the type of chart).
In the Conditional formatting window, choose Field value.
In the Based on field dropdown, select the measure you created (Variance Status Colour).
Proud to be a Super User! |
|
@bhanu_gautam thank you for responding so quickly.
I believe I'm already doing what has been suggested. The conditional formatting is working but only when using a slicer. When I'm selecting a value in another visual which updates all of the other visuals, my conditional formatting doesn't work. For example, a minus should be red but shows as green.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
20 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |