IF logic in Cube View GetDataCell

Kit_Tyrrell
New Contributor II

Hello,

I am trying to find a way to have my variance % follow my dollar variance value.   If a favorable variance, then the % variance should also be a positive percentage.  In this example I'm looking at variance in an absorption account.  Any thoughts on how this could be done?  

 

Kit_Tyrrell_0-1688590213699.png

 

1 ACCEPTED SOLUTION

MikeG
Contributor III

Hi @Kit_Tyrrell , have you tried using VariancePercent function in your column definition?  You can reference the other columns using CVC references.

MikeG_0-1688641649178.png

 

In your use case, BWPercent may work better, that one takes in to consideration the Account Types  Here's an example of that one from the Help doc.

MikeG_1-1688641770297.png

hope this helps.

View solution in original post

3 REPLIES 3

MikeG
Contributor III

Hi @Kit_Tyrrell , have you tried using VariancePercent function in your column definition?  You can reference the other columns using CVC references.

MikeG_0-1688641649178.png

 

In your use case, BWPercent may work better, that one takes in to consideration the Account Types  Here's an example of that one from the Help doc.

MikeG_1-1688641770297.png

hope this helps.

Kit_Tyrrell
New Contributor II

Thank you very much for the suggestions.   The BWPercent worked for what I needed.

Great!  Glad that worked for you @Kit_Tyrrell .