Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Measures for conditional formatting are not available to select

Hi!   I want to colorized my column depending on the value of the row.   - If the value is below 90% in red, between 90 and 100% in black and over 100% in green.   I checked this topic and made...
  • Anonymous's avatar
    Anonymous
    4 years ago

    HI Anonymous,

    Here is the measure formula for color formatting, you can create a new measure with these codes and set 'background color' conditional formatting with 'field value' mode on the '% Sales vs Target' field:

    color format =
    IF (
        [% Sales vs Target] < 0.9,
        "Red",
        IF ( [% Sales vs Target] <= 1, "Blue", "Green" )
    )

    Notice: If these default color names are not suitable for your requirement, you can also use a 6-bit hex color code to replace the color names in the above formula.

    Regards,

    Xiaoxin Sheng