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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jdasari
Regular Visitor

Power BI - Line and Clustered Column Chart data colors are not working

Hello Experts, 

 

I am currently working on a dashboard and we have used Line and Clustered Column charts. We are currently showing actuals and budgets on the column values by region on the shared axis. We would like to setup an expression on the actuals bar and below are the rules that we want to add.

If the actual value > budget value then the bar should show in green color else in red colour. We have worked out the formula for it this chart is working fine only if we have the actual value on the column values and soon after I add the budget value onto the column values then the expression that I have written is not working.

below is the exaple of the Line and Cluster chart with only actuals on the column values

Column Values - Actual Value By RegionColumn Values - Actual Value By Region

 

 

 

 

 

 

 

Colum values - only with actual value and shared axis by region screens shot

Column Value PropertiesColumn Value Properties

the real problem is when I add the budget value onto the column values then the condition doesn't work and please find the screenshot below

Column Values with actual and budgetColumn Values with actual and budget

How can we chagne the colours by expressions in the Line and Clustered Column Chart.

 

Any suggestions will be much appriciated.

Thank you.

 

Regards

JD

 

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@jdasari , conditional formatting is only supported with one measure as of now. 

Please log an idea or vote for new one

https://ideas.powerbi.com/ideas/

View solution in original post

2 REPLIES 2
v-henryk-mstf
Community Support
Community Support

Hi @jdasari ,

 

As @amitchandak  said, conditional formatting in Line and Clustered Column Chart can only be based on individual measure judgments and cannot be applied when there are multiple columns in visual.

 

Post your idea at the following link, if the number of people agree, Microsoft will officially consider adding this feature in the next update.


Best Regards,
Henry


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

amitchandak
Super User
Super User

@jdasari , conditional formatting is only supported with one measure as of now. 

Please log an idea or vote for new one

https://ideas.powerbi.com/ideas/

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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