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     DRILLTHROUGH WHERE CONDITION FAILING

Read-Only Read-Only Topic
Go
Search
Notify
Tools
DRILLTHROUGH WHERE CONDITION FAILING
 Login/Join
 
Guru
posted
I created a 2 lvel drill through report. It runs fine when I dont use WHERE condition; but When I use WHERE in all three levels to filter to data for 2011 only. I am getting zero records back. Any Idea, what I am doing wrong?

 
SET SQUEEZE=ON
SET PAGE-NUM = OFF
TABLE FILE AGGRIGATE_ENROLLMENT_VIEW_BV01
HEADING CENTER
"Report 1"
"Enrollment By Division"
" "
SUM
     'AGGRIGATE_ENROLLMENT_VIEW_BV01.AGG_ENR.NEWENROLL'
     'AGGRIGATE_ENROLLMENT_VIEW_BV01.AGG_ENR.ENROLLEDACTIVE'
     'AGGRIGATE_ENROLLMENT_VIEW_BV01.AGG_ENR.WITHDRAW'
BY 'AGGRIGATE_ENROLLMENT_VIEW_BV01.SCHOOL.DIVISIONID'
WHERE FY EQ '2011'

ON TABLE PCHOLD FORMAT PDF OPEN

ON TABLE SET STYLE *
TYPE=REPORT, FONT=ARIAL, $
TYPE=DATA, TOPGAP=0.1, $
TYPE=DATA, COLUMN=DIVISIONID, DRILLTHROUGH=DOWN(DIVISIONID), $
END


TABLE FILE AGGRIGATE_ENROLLMENT_VIEW_BV01
HEADING CENTER
"Report 2"
"Enrollment By DISTRICT"
" "
SUM
     'AGGRIGATE_ENROLLMENT_VIEW_BV01.AGG_ENR.NEWENROLL'
     'AGGRIGATE_ENROLLMENT_VIEW_BV01.AGG_ENR.ENROLLEDACTIVE'
     'AGGRIGATE_ENROLLMENT_VIEW_BV01.AGG_ENR.WITHDRAW'
BY 'AGGRIGATE_ENROLLMENT_VIEW_BV01.SCHOOL.DIVISIONID' NOPRINT
BY DISTRICTID
WHERE FY EQ '2011'

ON TABLE PCHOLD FORMAT PDF OPEN
ON DIVISIONID PAGE-BREAK
ON TABLE SET STYLE *
TYPE=REPORT, FONT=ARIAL, $
TYPE=DATA, TOPGAP=0.1, $
TYPE=DATA, COLUMN=DISTRICTID, DRILLTHROUGH=DOWN(DISTRICTID), $
END

TABLE FILE AGGRIGATE_ENROLLMENT_VIEW_BV01
SUM
     'AGGRIGATE_ENROLLMENT_VIEW_BV01.AGG_ENR.NEWENROLL'
     'AGGRIGATE_ENROLLMENT_VIEW_BV01.AGG_ENR.ENROLLEDACTIVE'
     'AGGRIGATE_ENROLLMENT_VIEW_BV01.AGG_ENR.WITHDRAW'
BY 'AGGRIGATE_ENROLLMENT_VIEW_BV01.SCHOOL.DIVISIONID'
BY 'AGGRIGATE_ENROLLMENT_VIEW_BV01.SCHOOL.DISTRICTID'
BY 'AGGRIGATE_ENROLLMENT_VIEW_BV01.SCHOOL.SCHOOLID'
BY 'AGGRIGATE_ENROLLMENT_VIEW_BV01.TIMEPERIOD.FYPW'
WHERE FY EQ '2011'

ON DISTRICTID PAGE-BREAK
HEADING CENTER
"Report 3"
"Sales Detail Report"
" "
"Category: Product: " "

ON TABLE PCHOLD FORMAT PDF CLOSE
ON TABLE SET STYLE *
TYPE=DATA, TOPGAP=0.1, $
TYPE=REPORT, FONT=ARIAL, $
TYPE=HEADING, LINE=4, ITEM=2, $
TYPE=DATA, COLUMN=DIVISIONID, DRILLTHROUGH=FIRST(DIVISIONID), COLOR=GREEN, $
END
 


WebFOCUS 7.6.10
Windows
HTML
 
Posts: 294 | Registered: March 04, 2010Report This Post
Expert
posted Hide Post
Do I have to ask if there actually is data for 2011? What is the format of field FY?

Also, in a compound PDF report, you should only have one OPEN and one CLOSE - you have two OPEN statements.

quote:
OPEN - Is specified with the first report, and begins the concatenation process. A report that contains the OPEN attribute must be PDF or PS format.

CLOSE - Is specified with the last report, and ends the concatenation process.

NOBREAK - Is an optional phrase that suppresses page breaks. By default, each report is displayed on a separate page.

You can use NOBREAK selectively in a request to control which reports are displayed on the same page.


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Guru
posted Hide Post
Thank you for helping Francis, DATA TYPE is A4 for FY. I realized that the OPEN and CLOSED should be used only once in whole procedure. HOwever, i am still not able to create 3 level drill.


WebFOCUS 7.6.10
Windows
HTML
 
Posts: 294 | Registered: March 04, 2010Report This Post
Expert
posted Hide Post
Is there data for 2011?


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Guru
posted Hide Post
quote:
Posted August 16, 2010 04:18 PM Hide Post
Is there data for 2011?

Francis

YEs there is data available for 2011. Our FY started on July 1st. So, there are about 11000 records for 2011.


WebFOCUS 7.6.10
Windows
HTML
 
Posts: 294 | Registered: March 04, 2010Report 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     DRILLTHROUGH WHERE CONDITION FAILING

Copyright © 1996-2020 Information Builders