cancel
Showing results for 
Search instead for 
Did you mean: 
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/

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

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/

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

View solution in original post

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors