Focal Point
[CLOSED] Conditional Across - Total

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/733104842

September 24, 2009, 06:27 AM
Poongs
[CLOSED] Conditional Across - Total
TABLE FILE CAR
PRINT
*
ON TABLE HOLD
END


TABLE FILE HOLD
SUM
DEALER_COST
BY MODEL
ACROSS COUNTRY AS ''
END

In this code I need to have a total after (England+ France ) END_TOT
and total after ( ITALY +JAPAN) IT_TOT.
I do not know the column names as specified above. Column names are dynamic


Also I have two more computed fields that should appear after the IT_TOT

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


WF8103 -UNIX,HTML,EXCEL,PDF.
September 24, 2009, 10:03 AM
j.gross
Your description is unclear.

Does "Column names are dynamic" mean fieldnames are determined by run parameters? Or do you mean that the values of the "ACROSS" field are not known a priori?

What rule will determine which set of across-field values to include in the first across-subtotal and which ones in the second?


- Jack Gross
WF through 8.1.05
September 24, 2009, 10:27 AM
Francis Mariani
Is it possible you mean that you need a subtotal after every second across value?


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server