Forum Discussion
Anonymous
2 years agoNot applicable
Change chart X axis formatting with measure
Hi all I am trying to change some of the data to colour 1 and other to colour 2 with measure Bar color = SWITCH( TRUE(), CONTAINSSTRING( SELECTEDVALUE( 'Data'[PLACE] ), "EUROP...
andhiii079845
Solution Sage
2 years agoYou can use the condtional formatting to change the bar chart.
https://blog.enterprisedna.co/power-bi-conditional-formatting-for-chart-visuals-whats-possible/
You can also generate with the the dax code the color of the bar chart.
https://community.fabric.microsoft.com/t5/Desktop/Conditional-format-of-bar-chart-based-on-a-table-with-HEX-colour/td-p/1049726