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.
Class Type Value1 Value2 Value3 Value4
----- ---- ------ ------ ------ ------
C1 A 1 2 3 4
C1 B 4 3 2 1
C1 A 1 2 3 4
C1 B 4 3 2 1
Required Output;
Class Value1 A Value1 B Value2 A Value2 B Value3 A Value3 B Value4 A Value4 B
----- -------- -------- -------- -------- -------- -------- -------- --------
C1 2 8 4 6 6 4 8 2
This message has been edited. Last edited by: Kathleen Butler,
This should be close to what you want, but sorts all of the "A" Types first.
...
SUM Value1 Value2 Value3 Value4
BY Class
ACROSS Type
...
If you want the columns in the exact order displayed, then you will likely need to use DEFINEs or COMPUTEs to create a bucket for each Type and Value combination.
WebFOCUS 7.7.05
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007
DEFINE FILE YOUR_FILE V1_A/I03 = IF TYPE EQ 'A' THEN VALUE1 ELSE 0; V1_B/I03 = IF TYPE EQ 'B' THEN VALUE1 ELSE 0; V2_A/I03 = IF TYPE EQ 'A' THEN VALUE2 ELSE 0; V2_B/I03 = IF TYPE EQ 'B' THEN VALUE2 ELSE 0; V3_A/I03 = IF TYPE EQ 'A' THEN VALUE3 ELSE 0; V3_B/I03 = IF TYPE EQ 'B' THEN VALUE3 ELSE 0; V4_A/I03 = IF TYPE EQ 'A' THEN VALUE4 ELSE 0; V4_B/I03 = IF TYPE EQ 'B' THEN VALUE4 ELSE 0; END -* TABLE FILE YOUR_FILE SUM V1_A V1_B V2_A V2_B V3_A V3_B V4_A V4_B BY CLASS END
WebFocus 8.201M, Windows, App Studio
Posts: 227 | Location: Lincoln Nebraska | Registered: August 12, 2008