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.
I have a need to unmerge the across value when using the following example code:
TABLE FILE CAR SUM DEALER_COST RETAIL_COST BY CAR ACROSS COUNTRY ON TABLE PCHOLD AS CAR1 FORMAT EXL2K END
When the country prints in the output it spans two columns because I am summing two values. Is there a way to make the across values unmerge and have the value in just one cell?This message has been edited. Last edited by: Kerry,
TABLE FILE CAR
SUM COMPUTE DUMMY/A10='Country '; AS ''
SUM
COUNTRY AS ''
COUNTRY AS ''
ACROSS COUNTRY NOPRINT
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE PCHOLD FORMAT EXL2K OPEN NOBREAK
END
-RUN
TABLE FILE CAR
SUM DEALER_COST RETAIL_COST
BY CAR
ACROSS COUNTRY AS '' NOPRINT
ON TABLE SET PAGE NOPAGE
ON TABLE PCHOLD FORMAT EXL2K CLOSE
END
2nd way
TABLE FILE CAR
SUM
COMPUTE HEADLINE1/A30='<+0>' || COUNTRY;
COMPUTE HEADLINE2/A30='<+0>' || COUNTRY;
ACROSS COUNTRY NOPRINT
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE HOLD AS HEADLINE FORMAT ALPHA
END
-RUN
TABLE FILE CAR
"<+0>
-INCLUDE HEADLINE
"
SUM DEALER_COST RETAIL_COST
BY CAR
ACROSS COUNTRY AS '' NOPRINT
ON TABLE SET PAGE NOPAGE
ON TABLE PCHOLD AS CAR1 FORMAT EXL2K
ON TABLE SET STYLE *
TYPE=HEADING, HEADALIGN=BODY,$
ENDSTYLE
END