Forum Discussion

Jerry's avatar
Jerry
New Contributor
4 years ago

Variance Explanation Cube View

Hello, 

Is there a way to format a cube view column for variance explanation to be a certain color/have text in the cell based on the variance column? The attached/below is what we want it to look like. If this is a cube view extender, is there any sample code? The example in Golfstream didn't seem to relate to this.

  • How are you populating the Variance Explanation in your screenshot above? You'll likely need a Dynamic Calc for that which will read the amount and then return a string of text to one of our Annotation View members. You won't be able to use a Dynamic Calc for the formatting portion. You'll have to use a BRString which is entered to the cell formatting property of the column.

  • Jerry's avatar
    Jerry
    New Contributor

    Hi EricOsmanski,

    Do you know if there is a way to not highlight the data cells? But rather reference it in the Variance explanation section? We first had the highlighting similar to how you show, but the client doesn't like the look of that. 

    • EricOsmanski's avatar
      EricOsmanski
      Valued Contributor

      Sorry, I misread. Do you have a Dynamic Calc written which populates "Commentary Required"? If so, you can write a BRString to conditionally format the cell color based on the text. Something like the below.

       

  • Jerry's avatar
    Jerry
    New Contributor

    EricOsmanski I don't have a dynamic calc to populate the "Commentary Required". I was hoping to have the same dynamic calc populate both the "Commentary Required" and the background color. Is there a way to update the string you provided to be based on cell amount? Thank you!

    • EricOsmanski's avatar
      EricOsmanski
      Valued Contributor

      How are you populating the Variance Explanation in your screenshot above? You'll likely need a Dynamic Calc for that which will read the amount and then return a string of text to one of our Annotation View members. You won't be able to use a Dynamic Calc for the formatting portion. You'll have to use a BRString which is entered to the cell formatting property of the column.