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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
OLAP and WHERE/IF
 Login/Join
 
<Rajiv Phougat>
posted
As posted earlier through some of similar posts on the forum I've come to know that filters (here WHERE/IF) and OLAP doesn't work together, is this true? Help me as its a blocker for me.

Below is the original post:

I am making a Report with a WHERE condition on Start Month/Year and End Month Year, also I have put the AUTOMATIC DRILLDOWN option ON. It works fine without the WHERE condition but when I apply WHERE condition DRILLDOWN doesn't work.
PLS HELP ME AS I AM NEW TO WebFOCUS!!!!

Following is the piece of code:

TABLE FILE TEST
SUM
CNT.CASEREFNUMBER AS 'CNT,CASEREFNUMBER'
BY
STATE AS 'State'
BY
REGION AS 'Region'
BY
PARISH AS 'Parish'
ACROSS
MONTH AS 'Month'

ON STATE SUBTOTAL
CASEREFNUMBER AS '*State Total: '

ON REGION SUBTOTAL AS '*Region Total:'
WHERE HDATE(INTAKERECEIVEDDT, 'MYY') GE HDATE(HINPUT(8, '&startYear.(2003,2004,2005).Start Year.' | '&startMonth.(01,02,03,04,05,06,07,08,09,10,11,12).Start Month.' | '01' , 8, 'HYYMDS'),'MYY')
AND
HDATE(INTAKERECEIVEDDT, 'MYY') LE HDATE(HINPUT(8, '&endYear.(2003,2004,2005).End Year.' | '&endMonth.(01,02,03,04,05,06,07,08,09,10,11,12).End Month.' | '01' , 8, 'HYYMDS'), 'MYY');
 
Report This Post
Silver Member
posted Hide Post
Hi,

I think following code may be helpful for you..
where you can do drilldown and also filtering using where condition...

-OLAP ON
-* File olap.fex
OLAP DIMENSIONS
-* DIMENSIONS FILE car
COUNTRY: COUNTRY, CAR, MODEL;
END
TABLE FILE CAR
PRINT
DEALER_COST
RETAIL_COST
BY
COUNTRY
WHERE ( COUNTRY EQ 'ENGLAND' );
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE SET ONLINE-FMT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET AUTODRILL ON
ON TABLE SET OLAPPANE TOP
ON TABLE SET STYLE *
UNITS=IN,
PAGESIZE='Letter',
LEFTMARGIN=0.250000,
RIGHTMARGIN=0.250000,
TOPMARGIN=0.250000,
BOTTOMMARGIN=0.250000,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
COLOR='BLACK',
BACKCOLOR='NONE',
STYLE=NORMAL,
$
ENDSTYLE
END

Regards,
Goldy
 
Posts: 30 | Location: India | Registered: February 23, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders