Forum Discussion

BBConsultancy's avatar
10 months ago
Solved

Conditional formatting on stacked column chart

Hi All,   I want to create a 100% stacked bar chart that shows the progress per employee on target. I want the 'achieved' part of the bar to be colored, and the 'to-go' part in light gray.   Howe...
  • OwenAuger's avatar
    OwenAuger
    10 months ago

    Hi BBConsultancy 

    The Power BI Desktop interface won't allow conditional formatting on any core stacked bar/column visuals when multiple measures or a legend field are included (as you've observed).

     

    There is a "hack" which I've used in the past described in this post that involves editing the visual.json file within the PBIP format. I have tested this myself previously and it appears to work as expected, but it's not "officially" supported.