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.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
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)