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] RPCT of CNT

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] RPCT of CNT
 Login/Join
 
Member
posted
Hello All,

I would like to have an across of race (cnt) by job type. That much I have working.

Can I use a rpct.cnt.... to determine the row percent for each race by job type? If yes, what is the syntax? If yes bonus points question: How would I use the GUI to code it?

Heres my code so far:
TABLE FILE PERS_MASTER
SUM
'CNT.PERS_MASTER.PERS_MASTER.race_type' AS 'COUNT,PERS_MASTER.PERS_MASTER.race_type'
BY 'J1.CLASS_CODES.emp_group' AS 'Active Contract Personnel FTE'
BY 'PERS_MASTER.PERS_MASTER.PEM_SEX' AS 'Gender'
ACROSS 'PERS_MASTER.PERS_MASTER.race_type' AS ''

ON J1.CLASS_CODES.emp_group SUBTOTAL AS '*Total'

Thanks for any help.

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


WebFOCUS 7.6.11
Developer Studio on Windows XP. Server Components running on Windows Server 2003.
Excel, HTML, PDF
 
Posts: 21 | Registered: August 26, 2009Report This Post
Master
posted Hide Post
Redapple,

My experience is that is better ( and more clear ) to not use CNT or DST.CNT with ACROSS.

What I usually do is first do all counting and put it in a hold. Then report over that hold file.

Sample on CAR
TABLE FILE CAR
 SUM COMPUTE COUNTER/D9 = 1; AS 'COUNTER'
 BY COUNTRY
 BY SEATS
 BY CAR
ON TABLE HOLD AS H01 FORMAT FOCUS
END

TABLE FILE H01
 SUM COUNTER RPCT.COUNTER
 BY SEATS
 ACROSS COUNTRY
ON TABLE PCHOLD FORMAT HTML
END


G'luck


_____________________
WF: 8.0.0.9 > going 8.2.0.5
 
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010Report 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] RPCT of CNT

Copyright © 1996-2020 Information Builders