March 14, 2008, 08:40 AM
Deepa497Recap
Hi,
I am using Recap to calculate Variance in table which has three rows using following:
FOR YEAR1
&VAR3 AS &VAR3 LABEL JAS OVER
&VAR2 AS &VAR2 LABEL JAG OVER
&VAR1 AS &VAR1 LABEL JEN OVER
RECAP DIFF = IF (YEAR1 GT &FMONTH AND MONTH1 LE 12) THEN JAG - JAS ELSE JEN - JAG; AS 'Variance'
In this there are rows in which JAG and JAS both are blank. So when Variance should also be blank but it is returning zero as a value.
How to handle missing value in Recap?
Thanks
Deepa
March 14, 2008, 08:51 AM
LeahPerhaps just adding the zero suppress option to the DIFF definition will help.
March 17, 2008, 07:27 AM
Deepa497Thanks Leah!!!
But the thing is it will suppress where ever zero will come. My requirement is whenever there is BLANK in JAG and JAS in the Variance row it should appear as BLANK instead it is showing zero
March 19, 2008, 01:07 AM
arvindhi deepa,
You can paste the screenshot of your present output and the requirement you want in
www.tinypic.comregards
March 19, 2008, 03:16 AM
Tony ADeepa,
Check out the usage of MISSING in a RECAP / DEFINE / COMPUTE and rearrange your calculation accordingly.
T