Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Across Total Drill Issue
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Across Total Drill Issue
 Login/Join
 
Member
posted
Hi Guys,
I am creating a report below is the code:-

TABLE FILE CAR1
SUM
CAR1.BODY.SEATS
CAR1.BODY.DEALER_COST
BY CAR1.ORIGIN.COUNTRY
BY CAR1.COMP.CAR
ACROSS LOWEST CAR1.CARREC.MODEL ACROSS-TOTAL AS 'TOTAL'
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE SET EXPANDBYROW ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/warm.sty,
$
TYPE=DATA,
ACROSSCOLUMN=N1,
DRILLMENUITEM='DrillDown 1', FOCEXEC=IBFS:/WFC/Repository/Test/New_Folder1/DRILL1.fex,
TARGET='_blank',
$
ENDSTYLE
END

So, i have a report in which:-
1. accordian report EXPANDBYROW is on.
2. We have Across Total
3. Drill down is there for measure fields
for the drill down on across columns i have used
TYPE=DATA,
ACROSSCOLUMN=N1

so i am also getting drill down in my across total i don't want that so how can i remove drill down in ACROSS TOTAL data columns ?

Since Row total dosen't works in Accordian that's why i have used accordian or is there a way we can use ROW total in accordian ?

WF version:- 8204

This message has been edited. Last edited by: FP Mod Chuck,


Webfocus 8.x
Windows
PDF,HTML,XLSX
 
Posts: 25 | Location: India | Registered: June 01, 2018Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Below can be the option to use
TABLE FILE CAR
SUM SEATS
    DEALER_COST
BY COUNTRY
BY CAR
BY TOTAL COMPUTE COLID /I2 = 1;
BY MODEL
ON TABLE HOLD AS DETDATA
END
-RUN

TABLE FILE CAR
SUM SEATS
    DEALER_COST
BY COUNTRY
BY CAR
BY TOTAL COMPUTE COLID /I2 = 2;
BY TOTAL COMPUTE MODEL /A24 = 'Total';
ON TABLE HOLD AS TOTDATA
END
-RUN

TABLE FILE DETDATA
SUM SEATS
    DEALER_COST
BY COUNTRY
BY CAR
BY COLID
BY MODEL
ON TABLE HOLD AS RPTDATA
MORE
FILE TOTDATA
END
-RUN

TABLE FILE RPTDATA
SUM SEATS
    DEALER_COST
BY COUNTRY
BY CAR
ACROSS COLID NOPRINT
ACROSS MODEL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE SET EXPANDBYROW ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
 INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/warm.sty,
$
TYPE=DATA,
 ACROSSCOLUMN=N1,
 WHEN=COLID EQ 1,
 DRILLMENUITEM='DrillDown 1', FOCEXEC=IBFS:/WFC/Repository/Test/New_Folder1/DRILL1.fex,
 TARGET='_blank',
$
ENDSTYLE
END

When posting code or sample output, please use the code tag which is the last icon on the ribbon
</>


WF versions : Prod 8.2.0.1M gen 240, Dev 8.2.04 gen 48, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2190 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
Member
posted Hide Post
Thanks...


Webfocus 8.x
Windows
PDF,HTML,XLSX
 
Posts: 25 | Location: India | Registered: June 01, 2018Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Across Total Drill Issue

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.