Focal Point
Recap

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8061001672

March 14, 2008, 08:40 AM
Deepa497
Recap
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


WebFocus 7.1.4, Windows Server 2005 , HTML/EXL/PDF
March 14, 2008, 08:51 AM
Leah
Perhaps just adding the zero suppress option to the DIFF definition will help.


Leah
March 17, 2008, 07:27 AM
Deepa497
Thanks 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


WebFocus 7.1.4, Windows Server 2005 , HTML/EXL/PDF
March 19, 2008, 01:07 AM
arvind
hi deepa,
You can paste the screenshot of your present output and the requirement you want in
www.tinypic.com

regards


WebFOCUS 714
Windows XP
Output: HTML,PDF,Excel
March 19, 2008, 03:16 AM
Tony A
Deepa,

Check out the usage of MISSING in a RECAP / DEFINE / COMPUTE and rearrange your calculation accordingly.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10