Forum Discussion

Thennarasu_R's avatar
Thennarasu_R
Responsive Resident
3 years ago
Solved

How to change Font Color Dynamic

Hi All,

As per my requiremet I want to change font color Dynamic 

manually Change Measure name thats why show error 

How to found dynamic color 



Thanks,
Thennarasu  

4 Replies

  • lukiz84's avatar
    lukiz84
    Memorable Member

    So you want to know how to write the "Previous" measure? I don't get it. And why do you add the % to Green and Red?

    • Thennarasu_R's avatar
      Thennarasu_R
      Responsive Resident

      My Ex If Value 1>0 , Outpts colors Should work Dynamically..

  • MahyarTF's avatar
    MahyarTF
    Memorable Member

    Hi,

    would you share the error text and also what are the measures type ?

    Share the measure code as well

  • Anonymous's avatar
    Anonymous
    Not applicable

    HI Thennarasu_R,

    These effects can be achieved to use the Dax formula to check values and return color code, then you can use this expression in conditional formatting of the fields that you want dynamic change colors.

    Apply conditional table formatting in Power BI - Power BI | Microsoft Learn

    Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

    How to Get Your Question Answered Quickly  

    Regards,

    Xiaoxin Sheng