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]Drill Down from total data from summary Table

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Drill Down from total data from summary Table
 Login/Join
 
Gold member
posted
Hello,
I need help in following problem I have a summary and a detailed report and want to drill down from summary to detailed report. Say, the summary report contains the column States, Monthly Insurance(M) and yearly insurance(Y). It also shows total insurance of e4ach states. I am able to drill down from monthly insurance and yearly insurance to deatled report. Now I want to drill down the data of total Monthly insurance and total yearly insurance of each state. I am unable to do it because I am able to select the data of GUI but in total I am not able to select. Total is a requirements too. please help.
Regards,
Niha

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


WebFOCUS 8
Windows 7
HTML
 
Posts: 50 | Registered: August 18, 2015Report This Post
Platinum Member
posted Hide Post
Funny but I just had that same request --- if I understand it correctly -- I have been coding since birth (it feels like) and I solved it by doing a universal concantenate with the main report and passing hidden fields in the total line. A little tricky but can be done -- (I do not know how to do it in the GUI)


Vivian Perlmutter
Aviter, Inc.


WebFOCUS Keysheet Rel. 8.0.2
(Almost) 1001 Ways to Work with Dates thru Rel. 8.0.2
Focus since 1982
WebFOCUS since the beginning
Vivian@aviter.com

 
Posts: 191 | Location: Henderson, Nevada | Registered: April 29, 2003Report This Post
Virtuoso
posted Hide Post
It's not the only way for sure 'cause with Focus there are always multiple ways Smiler

But one way could be to create one hold file per type of row having their own id, then merge them together to create the final report.
That way, each type of row become a "detail" row and can be "drillable"
-* CREATE DETAIL ROWS
DEFINE FILE CAR
DET_ID/I3  = 100;
TOT_ID/I3  = 100;
END
TABLE FILE CAR
SUM RETAIL_COST
    TOT_ID
    DET_ID
BY COUNTRY
BY CAR
BY MODEL
ON TABLE HOLD AS DETDATA FORMAT FOCUS
END
-RUN

-* CREATE SUB TOTAL ROWS
TABLE FILE CAR
SUM RETAIL_COST
    COMPUTE TOT_ID/I3  = 200;
    COMPUTE DET_ID/I3  = 100;
BY COUNTRY
BY CAR
BY TOTAL COMPUTE MODEL /A24 = 'Car SubTotal';
ON TABLE HOLD AS STOTDATA FORMAT FOCUS
END
-RUN

-* CREATE SUB TOTAL ROWS
TABLE FILE CAR
SUM RETAIL_COST
    COMPUTE TOT_ID/I3  = 300;
    COMPUTE DET_ID/I3  = 200;
BY COUNTRY
BY TOTAL COMPUTE CAR   /A16 = '';
BY TOTAL COMPUTE MODEL /A24 = 'Country Total';
ON TABLE HOLD AS TOTDATA FORMAT FOCUS
END
-RUN

-* MERGE ALL DATA TOGETHER AND DISPLAY IN THE PROPER ORDER
TABLE FILE DETDATA
SUM RETAIL_COST
BY COUNTRY
BY DET_ID NOPRINT
BY CAR
BY TOT_ID NOPRINT
BY MODEL
MORE
FILE STOTDATA
MORE
FILE TOTDATA
END
-RUN


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]Drill Down from total data from summary Table

Copyright © 1996-2020 Information Builders