Formatting the color for a specific hierarchy in a cube

  • Hi,

    I want to change the color for values if they are negative, eg. < 500, but this should only be applied on all my month in my date hierarchy.

    The structure for hierarchy is [Year].[Month].[Day]

    If I use IIF-statement then all values in my cube < 500 will have red colors.

    IIF([[Measures].[CountOfRows] < 450,255,0)

    Anyone know how I could solve this issue?

  • Hi,

    Extend your IIF statement. It looks like this, new code in BOLD and Italic

    FORE_COLOR =

    IIF ( ([Measures].[CountOfRows] < 450

    AND [DATE].[<Hierarchy_name>].CurrentMember.Level IS [DATE].[<Hierarchy_name>].MONTH[/i]

    , 255, 0 )

    Regards Kees

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply