Focal Point
Handling Missing Values in Recap

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

March 17, 2008, 08:37 AM
Deepa497
Handling Missing Values in Recap
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


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 17, 2008, 08:43 AM
hammo1j
First port of call would be

RECAP DIFF MISSING ON = IF (YEAR1 GT &FMONTH AND MONTH1 LE 12) THEN JAG - JAS ELSE JEN - JAG; AS 'Variance'




Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
March 17, 2008, 09:07 AM
Deepa497
Hi Hammo1j,

I alraedy tried this option but it didn't work. It gives error!!!

Thanks
Deepa


WebFocus 7.1.4, Windows Server 2005 , HTML/EXL/PDF