Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Adding unrelated info to report and exclude in total

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Adding unrelated info to report and exclude in total
 Login/Join
 
Gold member
posted
This is easy

TABLE FILE CAR
SUM RETAIL_COST
BY SEAT
BY CAR

ACROSS BODYTYPE

ON TABLE COLUMN-TOTAL AS 'TOTAL'
END



BODYTYPE
CONVERTIBLE COUPE HARDTOP ROADSTER SEDAN
SEATS CAR
2 ALFA ROMEO 0 6,820 0 6,820 0
JAGUAR 8,878 0 0 0 0
MASERATI 0 31,500 0 0 0
TRIUMPH 0 0 5,100 0 0

4 ALFA ROMEO 0 0 0 0 5,925
BMW 0 0 0 0 6,355
DATSUN 0 0 0 0 3,139
JENSEN 0 0 0 0 17,850
TOYOTA 0 0 0 0 3,339

5 AUDI 0 0 0 0 5,970
BMW 0 0 0 0 52,407
JAGUAR 0 0 0 0 13,491
PEUGEOT 0 0 0 5,610
8,878 38,320 5,100 6,820 114,018


Now the request is changed and they want the italian cars shown like this. I feel as if I am mixing apples and oranges - how do I get the total correct without the italian cars counted twice


BODYTYPE
CONVERTIBLE COUPE HARDTOP ROADSTER SEDAN
SEATS CAR
2 ALFA ROMEO 0 6,820 0 6,820 0
JAGUAR 8,878 0 0 0 0
MASERATI 0 31,500 0 0 0
TRIUMPH 0 0 5,100 0 0

ITALY 0 38,320 0 6,820 0

4 ALFA ROMEO 0 0 0 0 5,925
BMW 0 0 0 0 6,355
DATSUN 0 0 0 0 3,139
JENSEN 0 0 0 0 17,850
TOYOTA 0 0 0 0 3,339

ITALY 0 0 0 0 5,925

5 AUDI 0 0 0 0 5,970
BMW 0 0 0 0 52,407
JAGUAR 0 0 0 0 13,491
PEUGEOT 0 0 0 5,610
8,878 38,320 5,100 6,820 114,086

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


Webfocus 7.6.4
Windows 2003 Server, SQL Server 2005
Excel, HTML , JavaScript ,and PDF.
Reportcaster, BID, Tomcat
 
Posts: 79 | Registered: May 02, 2006Report This Post
Member
posted Hide Post
Try using a subfoot.


TABLE FILE CAR
SUM RETAIL_COST
BY SEAT
BY COUNTRY
BY CAR


ACROSS BODYTYPE
ON COUNTRY SUBFOOT 
"BLAH BLAH BLAH"

ON TABLE COLUMN-TOTAL AS 'TOTAL'
END  


WebFocus 7.1.3
Developer studio 7.6.4
Windows
Excel, HTML and PDF
 
Posts: 14 | Registered: March 31, 2009Report This Post
Gold member
posted Hide Post
Aneela,

Thanks - but

Can I make the subfoot show only when country is italy?


Webfocus 7.6.4
Windows 2003 Server, SQL Server 2005
Excel, HTML , JavaScript ,and PDF.
Reportcaster, BID, Tomcat
 
Posts: 79 | Registered: May 02, 2006Report This Post
Gold member
posted Hide Post
Yea just have the subfoot look like this

ON COUNTRY SUBFOOT 
"BLAH BLAH BLAH"
WHEN COUNTRY EQ 'ITALY';


WF: 8201, OS: Windows, Output: HTML, PDF, Excel
 
Posts: 78 | Registered: November 08, 2010Report This Post
Gold member
posted Hide Post
Thanks all - solved!

the "WHEN" does it

(The WHEN can even done the graphical report builder - I could not find it - I was expecting it within the subfoot options but is it there when you right click the subfooting)


Webfocus 7.6.4
Windows 2003 Server, SQL Server 2005
Excel, HTML , JavaScript ,and PDF.
Reportcaster, BID, Tomcat
 
Posts: 79 | Registered: May 02, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Adding unrelated info to report and exclude in total

Copyright © 1996-2020 Information Builders