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     Percentage between total and subtotal

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Percentage between total and subtotal
 Login/Join
 
Gold member
posted
Hi,

In most of the reports, we do display sub-total and grand totals..... But how do we show what is the contribution of one subtotal with respect to the total

e.g

Total for NY is 100
Total for MN is 100
Total for PA is 100

Total for USA is 300

% of NY is 34 %
% of MN is 34 %
% of PA is 34 %


I hope I am clear with my question

Thanks,
Navaneeth
 
Posts: 53 | Registered: October 03, 2006Report This Post
Platinum Member
posted Hide Post
Navneeth -
Please lookup the " WITHIN " verb. That will show you how to get the grand-total as a column with-in the same Hold file, and use it for calculations like these.

Best regards,
Sandeep Mamidenna


-------------------------------------------------------------------------------------------------
Blue Cross & Blue Shield of MS
WF.76-10 on (WS2003 + WebSphere) / EDA on z/OS + DB2 + MS-SQL
MRE, BID, Dev. Studio, Self-Service apps & a dash of fun !! Music
 
Posts: 218 | Location: Jackson, MS | Registered: October 31, 2006Report This Post
Master
posted Hide Post
You can also use a multiverb such as:
DEFINE FILE CAR
TOT_SLS/D12=SALES;
END
TABLE FILE CAR
SUM TOT_SLS NOPRINT
SUM SALES
COMPUTE PCT_SLS/D5%=SUM.SALES/TOT_SLS * 100;
BY COUNTRY
END


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report 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     Percentage between total and subtotal

Copyright © 1996-2020 Information Builders