Forum Discussion

ashik1992's avatar
ashik1992
Helper I
5 years ago
Solved

conditional formatting

Hello Folks,

Im an beginner here . Need one help .

I have a matrix like this. in the row ,there is project details and states. in column there is day data. in value it is count of projects in respective sates.

I want to do  conditional formating .

condition is ,if there is blank cell,make the color grey and it is shown as "N" and if cell is not blank it should display in red color with "Y". Please help me to achieve it

Project details1day1day2day3
Developemnt12 14
testing151313 
ready  12
Project details2   
Developemnt357
testing 8 
ready45  
  • ashik1992 

     

    First you need to create 2 measures. One used in the matrix visual and the other that will be used in conditional formatting

    Flag measure = if(isblank('project'[daycount]), "N", "Y")

    Flag measure Conditional = if(isblank('project'[daycount]), "#CCCCCC", "#FF0010")

     

    When you create the matrix visual, select the first measure from conditional formatting section.

    Select 'Flag Measure' in conditional formatting section --> and on the pop up window --> select Format by (field Value) --> select the second measure (with the colours)

     

    Image below

12 Replies