Forum Discussion
Stacked bar chart with two measures and conditional formatting based on another measure
I'm using two measures (Revenue and Increased Revenue) in stacked bar chart and I have another measure which is total (Revenue+Increased Revenue). I should be using two measures (I have to show Revenue and Increased Revenue stacked) in the chart and conditional formatting of bars using total measure.
I know Power BI won't allow conditional formatting if we use two measures. But posting here to see if any possible solutions or workarounds.
TIA.
8 Replies
- Deku
Super User
You could use error bars to show the increase, so only one main bar for revenue
- vamshivanguri
Helper I
I had to use two measures and total measure for the conditional formatting.
- AnonymousNot applicable
Hi vamshivanguri,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
- AnonymousNot applicable
Hi vamshivanguri,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If our responses has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you. - AnonymousNot applicable
Hi vamshivanguri ,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the community members for the issue worked. If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.
Thanks and regards
- vamshivanguri
Helper I
No, not able to find the solution
- AnonymousNot applicable
Hi vamshivanguri ,
Thanks for reaching out to the Microsoft fabric community forum.
Conditional formatting in Power BI is currently supported only in table and matrix visuals not for stacked bar chart.
If the requirement is to use Stacked Bar chart only and cant change the visual to table or matrix then
then Please check out the columns option in Format visual, where we can edit the color of the legend based on our needs.
If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Thank you - AnonymousNot applicable
Hi vamshivanguri ,
If you have resolved the issue, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.