Forum Discussion

Oscar's avatar
Oscar
Contributor
3 years ago

Show 0.0 in Cube View Data Cell instead of blank cell

I built a cube view which contains blank cells (this is expected) as there is no data in the intersection. How can I forcibly show 0.0 in these cells (intersections) instead of blank cells? Thanks!

  • Hi Oscar, 

    You can create a new U8# Dynamic Calc member with the following code:

    This should replace blank cell with 0 after you layout the CV report with the new UD8 member.

  • twn1's avatar
    twn1
    New Contributor II

    Hi Oscar, 

    You can create a new U8# Dynamic Calc member with the following code:

    This should replace blank cell with 0 after you layout the CV report with the new UD8 member.

    • Oscar's avatar
      Oscar
      Contributor

      Thank you! This is exactly what I needed ... in HFM this was as simple as applying the wanted format to the report, but it never occurred to me that this had to be coded in the U8 dimension (of all places) in OneStream ... Jeeeezz

  • ChristianW's avatar
    ChristianW
    Valued Contributor

    Hi Oscar

    If read only is sufficient, just encapsulate a row (or column) dimension's specification like this: GetDataCell(<Some POV> + 0)

    Cheers

    Christian

  • PFowler's avatar
    PFowler
    New Contributor II

    Following up on this. I'm still learning the ropes with OneStream. How would I pass this in my member filter? Also, will this replace all NonData Cells with 0 in the Cube View? 

    • Oscar's avatar
      Oscar
      Contributor

      We created a UD8 dimension member with Formula Type DynamicCalc. The code above is then placed in the Formula field. The newly created member would be referenced in the POV of the cube view where you want to show zeros instead of blanks in the report.

  • PFowler's avatar
    PFowler
    New Contributor II

    Did you do this without creating a business rule? Would you be able to show screenshots of the formula so I can visualize it? 

  • Oscar's avatar
    Oscar
    Contributor

    The code is shown above. You have to paste it in a UD8 dimension member:

     

    Then in the cub view: