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     Need Totals at Different Levels

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Need Totals at Different Levels
 Login/Join
 
Gold member
posted
I need to display a total count by district/by area and display the percentage for each area (% of grand total). I also need to calculate the YTD total count using a different date range than is used to get the monthly count.

Can you have where statements for each verb in a multiverb statement? (If so, I can't seem to get it to work.)

Any suggestions for the best way to accomplish the following:

---------------Count---Pecentage-----YTD Count
District A
------Area A------10------19.23%-----------123
------Area B------12------23.08%------------12
------Area C-------5--------9.61%------------34
_______________________________________________
--------------------27------51.92%-----------149

District B
------Area A------3--------5.77%------------56
------Area B------0--------0.00%------------78
------Area C-----22------42.31%------------90
______________________________________________
-------------------25-------48.08%-----------224
______________________________________________
______________________________________________
Grand Total-----52-------100.00%-----------373

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


WF 766
Win2K
 
Posts: 50 | Location: North Carolina | Registered: May 16, 2006Report This Post
Platinum Member
posted Hide Post
I don't have a good way to test this right now, but I wonder if something like this might work:

DEFINE FILE WHATEVER
COUNTMO/I7C = IF DATE FROM fromdate TO todate THEN 1 ELSE 0;
COUNTALL/I7C = 1;
END

TABLE FILE WHATEVER
SUM
COUNTMO AS 'Count'
PCT.COUNTMO AS 'Percentage'
COUNTALL AS 'YTD Count'
BY DISTRICT
BY AREA
ON TABLE RECOMPUTE
END


dwf
 
Posts: 135 | Location: Portland, OR | Registered: March 23, 2005Report This Post
Gold member
posted Hide Post
Thanks!


WF 766
Win2K
 
Posts: 50 | Location: North Carolina | Registered: May 16, 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     Need Totals at Different Levels

Copyright © 1996-2020 Information Builders