Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Dax - color highlight

Hi Team,   I have below data and contributors field spefic name like "F" alone I need to highlight , can you please help me.     Thanks, KV's
  • v-henryk-mstf's avatar
    5 years ago

    Hi Anonymous ,

     

    According to your description, you can create a measureu as the conditional formatting judgment condition, mark the designated "F" as red or any color you like. I did a test, the reference is as follows:

     

    M =
    SWITCH (
        TRUE (),
        MAX ( 'Table'[Contributor] ) = "F", "red",
        MAX ( 'Table'[Contributor] ) <> "F", "green"
    )

     

     

     


    If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


    Best Regards,
    Henry


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

     

    Below is the sample pbix file.