Forum Discussion
RMDNA
Solution Sage
8 years agoVariance 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...
- 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)
Phil_Seamark
Microsoft Employee
8 years agoHI RMDNA
Does this get close?
DTD PL % = VAR myVariance = DIVIDE( [Daily Sales] , [Daily Sales Plan] , Blank()) RETURN IF(NOT ISBLANK(myVariance) , 1 - myVariance)
- RMDNA8 years ago
Solution Sage
Needed a small adjustment to handle +/- (changed "1 - myVariance" to "myVariance - 1") but otherwise it worked great. Thanks!