Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED]How to create Drill down from Total Column in GUI

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]How to create Drill down from Total Column in GUI
 Login/Join
 
Gold member
posted
hello,
I want to create Drill down for Total column. While I was able to Drill down the Data from Report Canvas(GUI), I am not able to do it for Total as it is not drill-able. Suggest.
Regards,
nn

This message has been edited. Last edited by: <Emily McAllister>,


WebFOCUS 8
Windows 7
HTML
 
Posts: 50 | Registered: August 18, 2015Report This Post
Master
posted Hide Post
I guess the question would be why?

Usually a drilldown from a point is the data being diplayed. So you click on Ford and the drill down is a break down of all Fords. So clicking on the Total, where exactly do you go from there? If you just trying to get all information in the drilldown, the just add a button or link on the report that shows up in the header that states "show detail".



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report This Post
Virtuoso
posted Hide Post
As Gavin said, it may not make sense to have a drill o the Total but it also be.

Here a solution for an ACROSS-TOTAL:
TABLE FILE CAR
SUM SEATS
BY COUNTRY
ACROSS CAR
ACROSS-TOTAL
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=DATA,
     ACROSSCOLUMN=SEATS, FOCEXEC=cntrydet(CTRY=COUNTRY),
     WHEN= SEATS NE 0,
$
ENDSTYLE
END


If you would like to drill from a ROW-TOTAL, Gavin solution can be one.
Otherwise below one is another:
TABLE FILE CAR
SUM SEATS
BY TOTAL COMPUTE ROWID  /D1  = 1;
BY COUNTRY
BY CAR
ON TABLE HOLD AS HLD1 FORMAT FOCUS
END
-RUN

TABLE FILE CAR
SUM SEATS
BY TOTAL COMPUTE ROWID  /D1  = 2;
BY TOTAL COMPUTE COUNTRY/A10 = 'TOTAL';
BY TOTAL COMPUTE CAR    /A16 = '';
ON TABLE HOLD AS HLD2 FORMAT FOCUS
END
-RUN

TABLE FILE HLD1
SUM SEATS
BY ROWID
BY COUNTRY
BY CAR
ON TABLE HOLD AS RPTDATA FORMAT FOCUS
MORE
FILE HLD2
END
-RUN

TABLE FILE RPTDATA
SUM SEATS
BY ROWID NOPRINT
BY COUNTRY
BY CAR
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=DATA,
     COLUMN=COUNTRY, FOCEXEC=cntrydet(CTRY=COUNTRY),
$
ENDSTYLE
END


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED]How to create Drill down from Total Column in GUI

Copyright © 1996-2020 Information Builders