Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

How to format the fields

Hi All I created a report using multi card , which has 3 values  (start, inprogress ,end - as titles ) and have values 22 27 29 , i am not talking about conditional formatting , but i want to have t...
  • v-frfei-msft's avatar
    v-frfei-msft
    7 years ago

    Hi Anonymous ,

     

    We cannot achieve that by multi card visual, We can work that out by table visual. Here I create a measuare and use conditional formatting based on the measure as below.

     

    Measure =
    SWITCH (
        TRUE (),
        SUM ( Table1[value] ) = 22, "#b20000",
        SUM ( Table1[value] ) = 25, "#ffc04c",
        SUM ( Table1[value] ) = 27, "#a500ff",
        "#198c19"
    )
    

     

     

    For more details, please check the pbix as attached.

     

    Regards,

    Frank