Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Conditional formatting not working on measure

I used EnterData in PBIDesktop and put just 3 rows there in just 1 column - Column1. I then made a Measure1 = SUM(Table1[Column1])   When I put Column1 in a table and add condional formatting to it...
  • MFelix's avatar
    MFelix
    6 years ago

    Hi Anonymous  and natabird3 

     

    I was responding to the post below and got your post also.

     

    https://community.powerbi.com/t5/Desktop/Conditional-Formatting-Quirks/m-p/929788/highlight/false#M445561

     

    As refered by v-juanli-msft mMeasure are based on context so when you have the calculation of the measure without reference to any other calcuttion the aggregation doesn't return any background colour.

     

    Believe that is the behaviour of the table visualization since you can add different levels of context and by default it's summarized with totals if you had an additional level of context as it's refered by adding the column 1 the formatting is applied.

     

    If you use the condittional formatting on a card or a bar chart since the context is based on the slicer and on that visualization it will work correctly.

     

    I agree that this is not user friendly and doesn't make sense. I will put an issue on the forum refering to this.