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.
Would anyone know a way to sort the detail level of an accordion report? In other words: to sort the fields 'after' the BY fields, since the BY fields are used to expand.This message has been edited. Last edited by: <Kathryn Henning>,
WebFOCUS 8105m Windows 7, All Outputs
Member of the Benelux Usergroup
Posts: 198 | Location: Amsterdam | Registered: August 24, 2011
TABLE FILE GGSALES
PRINT DOLLARS
BY REGION
BY ST
BY STCD
BY HIGHEST DOLLARS NOPRINT
WHERE DATE FROM 19960101 TO 19961231
ON TABLE SET EXPANDABLE ON
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
ENDSTYLE
END
-RUN
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Then your (potential) solution is to pre-parse the data to get it into the order in which you want it -
TABLE FILE GGSALES
SUM COMPUTE SRT_DOLLARS/D12.2c = DOLLARS; AS DOLLARS
BY REGION
BY ST
BY CITY
BY STCD
BY HIGHEST TOTAL SRT_DOLLARS NOPRINT
BY DATE
WHERE DATE FROM 19960101 TO 19961231
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE SET ASNAMES ON
ON TABLE HOLD AS TEMPHLD1
END
-RUN
TABLE FILE TEMPHLD1
PRINT DATE
DOLLARS
BY REGION
BY ST
BY CITY
BY STCD
ON TABLE SET EXPANDABLE ON
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
ENDSTYLE
END
-RUN
TThis message has been edited. Last edited by: Tony A,
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
TABLE FILE HOLD
SUM
D AS DTOTAL
BY A
BY B
BY C
PRINT E
F
D
BY A
BY B
BY C
BY HIGHEST E
ON TABLE HOLD AS SWES
END
-RUN
TABLE FILE SWES
PRINT E AS ''
F AS ''
D AS ''
BY A AS ''
BY B AS ''
BY C AS ''
ON TABLE SET EXPANDABLE ON
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
ENDSTYLE
END
-RUN
BY HIGHEST E works right, but now I would like to have BY HIGHEST DTOTAL too, but not PRINTED. So something like:
TABLE FILE HOLD
SUM
D AS DTOTAL
BY A
BY B
BY C
PRINT E
F
D
BY A
BY B
BY C
BY HIGHEST E
ON TABLE HOLD AS SWES
END
-RUN
TABLE FILE SWES
PRINT E AS ''
F AS ''
D AS ''
BY A AS ''
BY HIGHEST DTOTAL NOPRINT
BY B AS ''
BY C AS ''
ON TABLE SET EXPANDABLE ON
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
ENDSTYLE
END
-RUN
Also, is there a way to have the TOTAL ABOVE with an accordion?
Thanks, SWES
WebFOCUS 8105m Windows 7, All Outputs
Member of the Benelux Usergroup
Posts: 198 | Location: Amsterdam | Registered: August 24, 2011
SET ASNAMES = ON
SET HOLDLIST = PRINTONLY
TABLE FILE GGSALES
SUM DOLLARS AS DTOTAL
BY REGION AS A
BY ST AS B
BY DATE AS C
SUM BUDDOLLARS AS E
UNITS AS F
DOLLARS AS D
BY REGION AS A
BY ST AS B
BY DATE AS C
BY HIGHEST BUDDOLLARS NOPRINT
WHERE DATE FROM 19960101 TO 19960331
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE SET ASNAMES ON
ON TABLE HOLD AS SWES
END
-RUN
TABLE FILE SWES
PRINT E AS ''
F AS ''
D AS ''
BY A AS ''
BY HIGHEST DTOTAL NOPRINT
BY B AS ''
BY C AS ''
ON TABLE SET EXPANDABLE ON
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
ENDSTYLE
END
-RUN
As for totals above? Well, there is SET SUBTOTALS = ABOVE but not for use with EXPANDABLE, so you'll probably have to resort to multi passes and merging the results
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004