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 built a report that consists of 3 measures in 3 ACROSS fields that looks like this:
TOTAL NEW USED
CAR RETAIL DEALER UNITS RETAIL DEALER UNITS RETAIL DEALER UNITS
MAZDA 661 367 368 713 368 368 587 366 368
FORD 653 660 961 771 961 368 557 417 961
TOYOTA 633 329 339 670 339 961 579 314 339
NISSAN 540 383 407 598 407 339 462 351 407
HONDA 499 309 282 457 282 407 551 426 282
I can successfully sort on any of the first 3 (TOTAL) columns uning the code below and perform a drill down to resort on any of those first 3 columns. I have been unable to re-sort based on any of the columns in the NEW and USED ACROSS categories. Trying to sort on one of these applies the selected column but only for the first ACROSS category (TOTAL). As you can see below I have tried incorporating the ACROSS column value as part of my DEFINE but it does not do the trick. Can anyone point me towards being able to sort on the 2d and 3d set of columns?
DEFINE FILE TOTSALES6
SORTVAL/D12 = IF VEHTYPE EQ 'ATOTL' THEN &SORTCOLUMN1 ELSE
IF VEHTYPE EQ 'NEW' THEN &SORTCOLUMN1 ELSE
IF VEHTYPE EQ 'USED' THEN &SORTCOLUMN1 ELSE 0;
END
TABLE FILE TOTSALES6
SUM
SORTVAL
TOTSALES6.SEG01.ALLINGROSS1/D12CB AS 'Retail'
TOTSALES6.SEG01.FIGROSS1/D12CB AS 'Dealer'
TOTSALES6.SEG01.UNITS/D12CB AS 'Units'
BY TOTAL HIGHEST SORTVAL NOPRINT
BY TOTSALES6.SEG01.BRAND AS 'Car'
BY TOTSALES6.SEG01.FLAG1 NOPRINT
BY TOTSALES6.SEG01.BRANDID NOPRINT
ACROSS TOTSALES6.SEG01.VEHTYPE AS '' COLUMNS ATOTL AS 'Total' AND NEW AS 'New ' AND USED AS 'Used'
END
This message has been edited. Last edited by: Kerry,
WF 7.7.04, WF 8.0.7, Win7, Win8, Linux, UNIX, Excel, PDF
Posts: 175 | Location: Pomona, NY | Registered: August 06, 2003
The parameter is set to the column based on the ACRSOO column value. My problem is that I have only been able to get the columns in the first ACROSS set.
WF 7.7.04, WF 8.0.7, Win7, Win8, Linux, UNIX, Excel, PDF
Posts: 175 | Location: Pomona, NY | Registered: August 06, 2003