Forum Discussion

jtemes's avatar
jtemes
Helper I
3 years ago
Solved

Color gradient, dynamic minimum and maximum values

Hi all

I am using Gradient conditional formatting over a Matrix vith values and subtotals. 

When I select Apply to Values and Totals, the minimum and maximum have to be fixed. Is there any way to make this dinamyc according to the value of the field?

Thanks for your help

  • jtemes , I doubt that. But using field value you can use a measure. But creating a gradient using measure , means you need to create that many conditions

     

    example 

    Color =

    Switch(True(),

    [Measure]< .1, "Light green",

    [Meausre] <.5, "Green",

    "Dark Green")

     

    You can use hexcode with #

     

    Use the color measure in conditional formatting using field value option

     

2 Replies

  • jtemes , I doubt that. But using field value you can use a measure. But creating a gradient using measure , means you need to create that many conditions

     

    example 

    Color =

    Switch(True(),

    [Measure]< .1, "Light green",

    [Meausre] <.5, "Green",

    "Dark Green")

     

    You can use hexcode with #

     

    Use the color measure in conditional formatting using field value option