Forum Discussion

Luis24's avatar
Luis24
New Member
3 years ago

Conditional Formatting based on another row value

 

Hello. I want to visualize the indicators of a set of companies over time, but color the information of these indicators (numbers and texts) according to an internally defined category (HIGH, MEDIUM or LOW).


I have structured a dataset that contains the name of the company, the name of the indicator and the type of information that the periods contain ("VALUE" or "CATEGORY"):

 

Dataset:

 

And, I would like to set up a visualization that displays the "value" of these indicators over time, but that their color depends on their "category":

 

Visualization:

 

Although in Excel this would be easy using conditional formatting: relating each cell of the "indicator's value" with its corresponding "indicator's category" in a hidden table, in Power BI I have not found a way to do it. I really appreciate if you can suggest me ideas on how to do it.

 

1 Reply