Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Alternating Rows style (in table) based on changes in first field

Hi,   I am wondering if it is possible to color rows in a table based on changes in one column (A) like below in Picture 1. Sort of the same as Alternating rows (Picture 2) but the color should not...
  • Anonymous's avatar
    Anonymous
    7 years ago

    I have solved it!

     

    I was struggling with getting the measure updated when I applied a value in my slicers but I finally got past that by using ALLSELECTED.

     

    This is my final Measure: MyRank = MOD(RANKX(ALLSELECTED('Efterföljande Kontakt');CALCULATE(MAX('Efterföljande Kontakt'[Ärendenummer]));;ASC;Dense));2)

     

    This Measure gives me 0 and 1 and I can then add conditional formatting on all my fields and set a color for 0 and another for 1.

     

    My only problem now is that the version of Power Bi Desktop on our server doesn't have the Conditional Formatting functionality!! :robotlol:

     

    // Micke