Forum Discussion
Conditional Formatting on Stacked Column Chart
- 11 months ago
Hi ssrinath
The Power BI interface doesn't allow conditional formatting to be set when multiple measures are added to a stacked column chart. However, if you're willing to use this "hack", you could define conditional formatting for each measure by editing the appropriate
visual.jsonfile with the PBIP format:I just tested myself with conditional formatting defined based on a measure and it worked.
Rule/Gradient-based formatting may also be possible but I haven't tested.
Hi ssrinath
The Power BI interface doesn't allow conditional formatting to be set when multiple measures are added to a stacked column chart. However, if you're willing to use this "hack", you could define conditional formatting for each measure by editing the appropriate visual.json file with the PBIP format:
I just tested myself with conditional formatting defined based on a measure and it worked.
Rule/Gradient-based formatting may also be possible but I haven't tested.
Thank you for this - I will test this out!