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 By each month

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Percentage By each month
 Login/Join
 
<Vijaya_settu>
posted
Hello,
Now it is giving percentage for all montn by person.But my user wants percentage for each month by person. I appreciate any thoughts about this problem.

Below is my code:
TABLE FILE APPLICANT_REMARKS
SUM
COUNTER AS 'Calls Made '
COMPUTE TOTALPCT/D6.2% = 100*(COUNTER/TOT.COUNTER); AS '% of Total '
BY INT_MONTH NOPRINT
BY MONTH NOPRINT
ON MONTH AS 'Total Calls for '
-*ON RESULT AS '&QUARTER Quarter'
SUBTOTAL
SUBHEAD
"UNDER-LINE
BY BLANKSPACE AS ' '
BY BLANKSPACE AS ' '
BY BLANKSPACE AS ' '
BY RESULT_SORT NOPRINT
BY RESULT AS ''
ACROSS LAST_NAME AS ''
ACROSS-TOTAL
WHERE APP_REMARKS_TYPE = '&RMRK_TYPE';
&HIDE.EVAL WHERE APP_REMARKS_AUTHOR = '&RECRUITERS';
WHERE APP_REMARKS_AUTHOR NE MISSING
WHERE APPLICANT_REMARKS_ADDDATE FROM '&FROM_DATE' TO '&TO_DATE'
ON TABLE COLUMN-TOTAL AS 'Total for &QUARTER Quarter'

END
The output is like this.


Henry Ford

Calls Made % of Total Calls Made % of Total
May
Spoke to Student 10 14.71% 2 3.64%
Left Message 19 27.94%
No Contact 22 32.35% 1 1.82%
Already Admitted 4 5.88% 3 5.45%
Total Calls for May 55 80.88% 6 10.91%
June
Spoke to Student 3 4.41% 8 14.55%
Left Message 9 13.24% 21 38.18%
No Contact 1 1.47% 14 25.45%
Already Admitted 4 7.27%
NOT CODED 2 3.64%
Total Calls for June 13 19.12% 49 89.09%
Total for 4th Quarter 68 100.00% 55 100.00%
 
Report This Post
Virtuoso
posted Hide Post
quote:
TABLE FILE APPLICANT_REMARKS
SUM
COUNTER AS 'Calls Made '
COMPUTE TOTALPCT/D6.2% = 100*(COUNTER/TOT.COUNTER); AS '% of Total '
BY INT_MONTH NOPRINT



ADD
SUM COUNTER NOPRINT
BY INT_MONTH NOPRINT
BY MONTH NOPRINT
change your compute to
( 100 * (COUNTER/C1));

See if that works.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
<Vijaya_settu>
posted
Thanks for your reply Leah, I wondering where C1 field from? Do i have to add as a new compute field ?

Thankyou
Vijaya
 
Report This Post
Master
posted Hide Post
I think you have your BYs/Across in the wrong order. What is the output you are getting vs the output that you want?


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
Virtuoso
posted Hide Post
Vijaya

The C1 stands for the column, it's a bit like excel.
You can use a absolute and relative reference.

See this example




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
<Vijaya_settu>
posted
Thanks everyone. The Focal point is very helpfull and useful site. I've found solution for my problem.

Vijaya
 
Report 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 By each month

Copyright © 1996-2020 Information Builders