Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Conditional formatting for multiple columns issue - Need Help

Hi Community,

 

I am new to Power BI. Some one please provide me a solution for the following issue.

 

I have a double heading matrix where customers are in Rows, two columns Status and Description are in the columns section (Both columns are from same lookup table), and a measure in the values section which will display the distinct count in the matrix. Following is the DAX.

 

DistinctRoster:= IF(CALCULATE(DISTINCTCOUNT(FactStatus[RosterId])) = BLANK(), 0, CALCULATE(DISTINCTCOUNT(FactStatus[RosterId])))

 

The matrix is like

    

 

Issue: I have to implement background color for column Active placements based on column Placed Duration in Fact table and for column Pending based on  column Pending Duration in fact table.

 

I added background color for column Active Placements by going to conditional formatting --> Format By rules--> and BAsed on field. It worked great for that column.

 

 

But how i can implement the background color for column Pending? I got stuck at this point.

 

TIA.

          

          

 

 

 

2 Replies