Focal Point
[Solved] Supress a Row in Across

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

September 22, 2015, 01:24 AM
Ramkumar - Webfous
[Solved] Supress a Row in Across
May be a simple thing... But not sure if it is possible in a single Table file request. When running the below code- I need to suppress "W GERMANY" row from being displayed in the report, But BMW and Maserati(The cars under Germany) columns should be displayed in the report with 0s for other countries. Any direct options?

Styling solutions using Backcolor or Font color wont works as this is an Excel report and I don't want any empty lines in between.

 
TABLE FILE CAR
SUM
DEALER_COST
BY COUNTRY
ACROSS CAR
END


Thanks,
Ram.

This message has been edited. Last edited by: Ramkumar - Webfous,


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
September 22, 2015, 01:59 AM
Danny-SRL
Ram,
Maserati is under ITALY, not W GERMANY...
Anyway, you want to show the W GERMANY cars but not the W GERMANY line. So where do you want to have the cars? With the name W GERMANY blanked out?
Can you be more specific?


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

September 22, 2015, 06:08 AM
Ramkumar - Webfous
quote:
Maserati is under ITALY, not W GERMANY...

Sorry Danny.. My Bad..

quote:
So where do you want to have the cars? With the name W GERMANY blanked out?
Can you be more specific?


See in my real-time W-Germany row will always have zero. So I want columns "BMW" and "Datasun"(across) to show Zero or null values for all other countries.

Something like this...




Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
September 22, 2015, 08:01 AM
MartinY
Is that what you may look at ?
DEFINE FILE CAR
NCOUNTRY     /A10            = IF COUNTRY EQ 'W GERMANY' THEN 'ITALY' ELSE COUNTRY;
NDEALER_COST /D10 MISSING ON = IF COUNTRY EQ 'W GERMANY' THEN MISSING ELSE DEALER_COST;
END
TABLE FILE CAR
SUM NDEALER_COST AS ''
BY NCOUNTRY      AS ''
ACROSS CAR
END



WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
September 22, 2015, 09:10 AM
Ramkumar - Webfous
Thanks Martin...


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
September 22, 2015, 10:01 AM
MartinY
My pleasure to help.

Edit and add to your subject [SOLVED} if it's the case.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007