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.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [Solved] Compound Pivot Tables

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Solved] Compound Pivot Tables
 Login/Join
 
Platinum Member
posted
I have searched FocalPoint, and read the manual on Pivot Tables, but can't find anything to tell me if it's possible to have compound pivot tables. Is this possible to do? I keep getting an error that it doesn't like the word 'open'.

Thanks,

Linda

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


WF 7.7.05
HP-UX - Reporting Server, Windows 2008 - Client, MSSQL 2008, FOCUS Databases, Flat Files
HTML, Excel, PDF
 
Posts: 149 | Location: Dallas, TX | Registered: June 08, 2007Report This Post
Member
posted Hide Post
Yes it is possible to have a compound pivot tables. The below example may help you. If this is not what you are expecting please post your sample code so that we can help you better.
  
SET COMPOUND = OPEN
TABLE FILE CAR
HEADING
"Car Report By Country"
PRINT
SALES AS 'Sales'
BY COUNTRY
ON TABLE PCHOLD FORMAT EXL2K PIVOT
ON TABLE SET STYLE *
TYPE=REPORT,
TITLETEXT='Summary Country Report', $
TYPE=HEADING, SIZE=16, $
TYPE=TITLE,BACKCOLOR=RGB(184 204 228),$
ENDSTYLE
END


SET COMPOUND = CLOSE
TABLE FILE CAR
HEADING
"Car Report By Model"
" "
PRINT
SALES AS 'Sales'
BY MODEL
ON TABLE PCHOLD FORMAT EXL2K PIVOT
ON TABLE SET STYLE *
TYPE=REPORT,
TITLETEXT='Summary Model Report', $
TYPE=TITLE,BACKCOLOR=RGB(184 204 228),$
ENDSTYLE
END


Thank you,
Arun
 
Posts: 12 | Registered: July 01, 2008Report This Post
Platinum Member
posted Hide Post
Thanks...my original code dynamically set an &VAR that I placed in my ON TABLE HOLD statement as I loop through my code, depending on the loop ctr. I've changed it to an &VAR that is either set to 'SET COMPOUND = value' or '-*'. I'm working on it now, just getting everything to increment and change to the right value when necessary. Thanks...


WF 7.7.05
HP-UX - Reporting Server, Windows 2008 - Client, MSSQL 2008, FOCUS Databases, Flat Files
HTML, Excel, PDF
 
Posts: 149 | Location: Dallas, TX | Registered: June 08, 2007Report This Post
Platinum Member
posted Hide Post
It's working! Thanks!
How do I mark this as 'Resolved'?


WF 7.7.05
HP-UX - Reporting Server, Windows 2008 - Client, MSSQL 2008, FOCUS Databases, Flat Files
HTML, Excel, PDF
 
Posts: 149 | Location: Dallas, TX | Registered: June 08, 2007Report This Post
Master
posted Hide Post
if you edit your original post, you can change the subject heading. Just put [Solved} at the beginning of the post and it will be considered closed.


Eric Woerle
8.1.05M Gen 913- Reporting Server Unix
8.1.05 Client Unix
Oracle 11.2.0.2
 
Posts: 750 | Location: Warrenville, IL | Registered: January 08, 2013Report 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] Compound Pivot Tables

Copyright © 1996-2020 Information Builders