Focal Point
[SOLVED] Null value on my OLAP report

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

December 17, 2010, 05:42 PM
jjeanjaquet
[SOLVED] Null value on my OLAP report
I am trying to create a condition on my OLAP report. I want to display information when the Revenue source is not NULL. In the report output, the value is displayed as ".". I have tried specifying the condition as: When RevenueSource <> (.,".",NULL, ," ","",etc.) but haven't been able to filter Revenue Sources with "." out.

Does anyone know how to fix this issue?

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.7.2: Windows 7: all output (Excel, HTML, PDF)
December 19, 2010, 10:42 AM
Brian Suter
. is the display value.
The FOCUS keyword for SQL NULL is MISSING.
WHERE field EQ MISSING ;


Brian Suter
VP WebFOCUS Product Development
December 19, 2010, 03:54 PM
Waz
Also don't use <>, use NE.

And if you ever want to check a list, use WHERE FIELD IN (item1,item2,itemn) or WHERE NOT FIELD IN (item1,item2,itemn). MISSING cannot be in this list, it must be by its self.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

December 22, 2010, 01:03 PM
jjeanjaquet
Thanks guys. "MISSING" worked just fine.


WebFOCUS 7.7.2: Windows 7: all output (Excel, HTML, PDF)