cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Re: How do I color the stacked bar chart by Dax query according to the condition in Power BI?

Hi @Icey,

 

Thank you for answer the question. 

I approached the desired result. The colors come right, but when I change the value from the database, the colors must come. For example; If the value is 25, the bar color will be green, when I update the value to 40, the bar color should be green up to 25 and the remaining 15 should be blue.

Highlighted
Community Support
Community Support

Re: How do I color the stacked bar chart by Dax query according to the condition in Power BI?

Hi @esukrusenturk ,

 

Is what you want like below?

up.PNG

If so, based on my knowledge, I can't resolve it.

 

 

Best Regards,

Icey

 

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

Highlighted
Helper III
Helper III

Re: How do I color the stacked bar chart by Dax query according to the condition in Power BI?

Hi @Icey,

 

Thank you for your help. Exactly what I want; If the value is 25, it will be green, if it is 40, then 25 of it will be green and 15 of it will be blue. But I understood the logic. I will try to apply.

 

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors