Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Conditional formatting of PowerBi table

I am having trouble figuring this out. I have followed instructions found elsewhere on the forum but I can't seem to get it to work.   I have a table with multiple columns, one column contains due ...
  • serpiva64's avatar
    serpiva64
    4 years ago

    1. You can do this way

    select each column and then apply conditional formatting with the same rule

     

     

    2. you can use what color you want:

    DateDueColor = if(DATEVALUE(left('Table'[DateDue],4)&"-"&MID('Table'[DateDue],5,2)&"-"& RIGHT('Table'[DateDue],2))<=TODAY(),"LIGHT BLUE",if(DATEVALUE(left('Table'[DateDue],4)&"-"&MID('Table'[DateDue],5,2)&"-"& RIGHT('Table'[DateDue],2))<=TODAY()+30,"YELLOW","#70BBFF"))
    3. You can remove the column and it function