Focal Point
Repeatation of Data

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

December 24, 2007, 05:57 AM
Shankar
Repeatation of Data
I am generating a report for the Dept. Details.
Here each 'Dept Name' will have more than one 'Dept Code'.
But i have to show it in two views:
Collapse and Expand.

Below the 'Collapsed' View is shown.
Here we do not need to show the 'Dept Code' Details and it should only be shown as 'ALL'.

SL No. Dept. Name Dept Code Counts
1. AA ALL 60
2. BB ALL 50
3. CC ALL 40
TOTAL Counts 150

So the 'TOTAL' is coming as per the 'Counts' given.

Below the 'Expanded'View is shown.
Here the 'Individual Dept Code' will be shown with its 'Individual Counts' along with the counts for 'ALL'.
So teh 'TOTAL' gets doubled as seen here which should not be the case.


SL NO. Dept. Name Dept Code Counts
1. AA ALL 60
A11 20
A22 20
A33 20
2. BB ALL 50
B11 10
B22 20
B33 20
3. CC ALL 40
C11 10
C22 30
TOTAL Counts 300


So kindly suggest if there is any way in WebFocus so that we can calculate the 'TOTAL' only when the 'Dept Code' is 'ALL'
in the 'Expanded' View and avoid this repeatation.


WF 8.1.04,Windows 7,
DataBase: Oracle 11g,Output :Excel,PDF,HTML
December 24, 2007, 07:38 AM
FrankDutch
Shankar

if this was with the CAR database it could be something like

TABLE FILE CAR
SUM RCOST DCOST
BY COUNTRY
SUM RCOST DCOST
BY COUNTRY
BY CAR
SUM RCOST DCOST
BY COUNTRY
BY CAR
BY MODEL
ON TABLE SET EXPANDABLE ON
ON TABLE SET HTMLCSS ON
ON TABLE COLUMN-TOTAL
END


This would give the report you want I hope




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

December 24, 2007, 07:42 AM
FrankDutch
Shankar

Would you be so kind to update your signature with the version and platform info.

And if you have questions like this, try to come with examples build upon the CAR or MOVIES database that come with the software. Everybody knows the master and the content of these databases so that makes it easier to help.

And you should post your fex as well.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

January 02, 2008, 07:43 AM
focuzsambit
If you will try for Accordian Report using OLAP dimensions (ON TABLE SET EXPANDABLE ON ), the output will not be as per ur requirement.
Better try in Oracle and Loop and do a print.

tks/sam


WF Server: 7.1.4 on Z/OS and Linux, ReportCaster
Data: DB2, DB2/UDB, Adabas, SQL Server, Oracle Output: HTML,PDF,Excel2K
WF Client: Servlet, CGI
September 11, 2008, 12:43 PM
<Tmproff>
What If I would like to use the multiverb option, but would like the RCOST DCOST values to be displayed only once and "Pushed" over as you expand the report? Each time you expand a level, the RCOST DCOST are recalculated.