Forum Discussion

KB's avatar
KB
New Contributor
3 years ago

Conditional formatting with up and down arrows

Hi all,

I am trying to apply a conditional formatting to a variances column, if higher than last year then shown up arrow (color red) if lower than last year then down (color green).

Not sure how you can achieve this?

  • db_pdx's avatar
    db_pdx
    Valued Contributor

    Hi KB: I don't know of a way to do arrows in a standard cube view.  The formatting options that would be most applicable for coloring in a Cube View would likely be:

    • TextColor
    • BackgroundColor
    • BorderColor
    • (+their Excel/Report equivalents)

    You would set this in the Cube View > Rows and Columns > (select a report block) > Formatting > Cell Format.  Use a condition of If (CellAmount ... ) Then ...

    Cheers    -DB

    • KB's avatar
      KB
      New Contributor

      I have done that with cell format as Wingdings but not sure what I need to include to return a text?

  • Krishna's avatar
    Krishna
    Valued Contributor

    1. XFS Cube View Styles in Dashboard -> Parameters -> Conditional_Formatting

    2. In Cube Attach this Formatting in the data Section and Make sure you select as Combo Box. so it will return as string.

    3. You can use the conditional formation on the Amount Column and that should work. 

    • db_pdx's avatar
      db_pdx
      Valued Contributor

      Can you share the content of your Conditional_Formatting parameter.  I'm not quite following how this is used.