Forum Discussion

MEtchart's avatar
MEtchart
New Member
3 years ago

Conditional formatting based on measure for a KPI visual

Situation: 

I have created a new Power BI report using an existing Power BI dataset.

I created a new measure in the new Power BI report to apply as conditional formatting on a KPI visual.

 

Problem:

Power BI does not allow me to select the new measure as Field Value for Conditional Formatting of the font color Callout value.

I don't get any error message, and the new measure seems to provide the correct output (checked by plotting values in a table).

 

The alternative is to create conditional formatting for the callout value as rules, but since it needs to be applied to many different visuals, a measure is way more efficient. 

 

Please help.

 

6 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi MEtchart ,

     

    The conditional formatting is under "Format your visual". Click "fx" to set the conditional formatting.

     

       

                                                                                                                                                             

    Best Regards,

    Stephen Tao

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

    • MEtchart's avatar
      MEtchart
      New Member

      Hi, thanks for this, but the problem goes beyond finding where the conditional formatting is. 

      When trying to use it, it does not allow me to use a new meassure as field value. 

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi MEtchart ,

         

        Choose "Field value" under Format style, select the measuer you want.

         

        If you still have doubts, please provide some sample data and the desired results.

        Or provide some screenshots to explain the problem. Take care to protect your privacy.

                                                                                                                                                                 

        Best Regards,

        Stephen Tao

         

        If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.