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     [CLOSED] Asname for Recap

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Asname for Recap
 Login/Join
 
Member
posted
In the below query I am taking a count on distinct cars for countries. Need to take count at subtotal and grand Total as well.
Please find below the query for same

TABLE FILE CAR
SUM
COMPUTE CNT/I3= CNT.CAR; NOPRINT
BY COUNTRY
PRINT
CAR
MODEL
RETAIL_COST
DEALER_COST
BY COUNTRY
ON COUNTRY SUBTOTAL
RECAP SUBCNT/I3 = CNT.CAR;
ON TABLE COLUMN-TOTAL AS 'GRAND TOTAL'
RECAP TOTCNT/I3=CNT.CAR;
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET PAGE-NUM OFF
END

I am able to get the count at subtotal and grand total level as well but the recap field SUBCNT should be displayed as 'Subtotal Car Count' and TOTCNT should be displayed as 'Total Car Count' on the report.
How do i get this done? Please help.

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


Supriya
WF 7.7.02/8.0
 
Posts: 18 | Registered: November 16, 2011Report This Post
Virtuoso
posted Hide Post
How about this

 TABLE FILE CAR
SUM 
COMPUTE CNT/I3 = CNT.CAR; NOPRINT
 
BY COUNTRY
PRINT
CAR
MODEL
RETAIL_COST
DEALER_COST
BY COUNTRY
ON COUNTRY SUBTOTAL
ON COUNTRY SUBFOOT
" Subtotal Car Count <ST.CNT"
   
ON TABLE COLUMN-TOTAL AS 'GRAND TOTAL'
ON TABLE SUBFOOT 
"Total Car Count <ST.CNT"
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET PAGE-NUM OFF
END

 
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Gold member
posted Hide Post
quote:
RECAP TOTCNT/I3=CNT.CAR;


This is a possibility also ... I have used this in the past on other COMPUTE fields.

Try it on the RECAP ...

 
RECAP 'Total Car Count'/I3=CNT.CAR; 
 


WF 7.6.10, Windows, PDF, Excel
 
Posts: 75 | Location: Dallas, TX | Registered: February 12, 2004Report 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     [CLOSED] Asname for Recap

Copyright © 1996-2020 Information Builders