Focal Point
[SOLVED] Forcing column title

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

April 05, 2013, 11:19 AM
Stan
[SOLVED] Forcing column title
I know this has been discussed but none of my searches are finding it. I need to force a column to appear in a report even if there are zero rows of data for that column..

For example if I have a report that Sums Number of cars sold by brand and I didn't sell any Fords, I would still need Ford to show up with zero reported...(I can create a list of brands that have to be there in a hold file)

Can someone point me to this discussion or give me a quick how-to?

This message has been edited. Last edited by: <Kathryn Henning>,
April 05, 2013, 11:32 AM
Ian Dalton
You could try SET ALL=ON which will put a . (or whatever you set NODATA to) and this will work assuming the SALES data (if any) is in a child segment of BRAND.


_______________________
*** WebFOCUS 8.1.05M ***
April 05, 2013, 12:15 PM
Stan
Found a solution using the phrasing:

ACROSS CARTYPE COLUMNS 'FORD' AND 'CHEVY'

Seemed to do the trick.
April 07, 2013, 05:40 PM
Waz
This solution is good if the list is static. If the list is dunamic, you can use the same code but populate the values from the data using Dialog Manager.


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!