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!
!! Subscribe to my youtube Channel !!

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!
!! Subscribe to my youtube Channel !!

Helpful resources

Announcements
May 23 2022 epsiode 5 without aka link.jpg

The Power BI Community Show

Welcome to the Power BI Community Show! Jeroen ter Heerdt talks about the importance of Data Modeling.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

Power BI Dev Camp Session 22 with aka link 768x460.jpg

Check it out!

Mark your calendars and join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!

Power BI Release May 2022 768x460.png

Check it out!

Click here to read more about the May 2022 updates!