Forum Discussion

RMDNA's avatar
RMDNA
Icon for Solution Sage rankSolution Sage
8 years ago
Solved

Variance from 100% while keeping row context

Hi all,   I'm running into an issue trying to calculate a % variance from plan. Below is a picture of the raw % to plan and its formula, giving us correct values.     However, when we atte...
  • Phil_Seamark's avatar
    8 years ago

    HI RMDNA

     

    Does this get close?

     

    DTD PL % = 
    VAR myVariance = DIVIDE( [Daily Sales] , [Daily Sales Plan] , Blank())
    RETURN IF(NOT ISBLANK(myVariance) , 1 - myVariance)