Assigning Bar Chart Colors to Field Values in Power BI Using DAX
In the process of developing a comprehensive dashboard to monitor the progression of the COVID-19 situation, I found it necessary to depict the data in various manners to account for the individual circumstances across the different WHO Regions. One of the challenges I faced was ensuring the consistency of bar chart colors across multiple visuals. Manually selecting the colors for each bar in every graph would have been cumbersome and inefficient. Thus, to streamline the process and ensure visual consistency, I employed a DAX measure to dynamically assign the colors based on the respective WHO Region...
Read the rest of this article on Medium here.
Comments