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     How to apply more condition for Drill condition

Read-Only Read-Only Topic
Go
Search
Notify
Tools
How to apply more condition for Drill condition
 Login/Join
 
Member
posted
Dear Sir,

We can use condition to control a special value cannot drill down, but when we want to control more values, we cannot found how to do it. Are there any one have the experience. Your responses are appricate. Thank you

Best Regards,
B. H. Tang
 
Posts: 4 | Registered: May 03, 2007Report This Post
Platinum Member
posted Hide Post
Tang :
Please explain the kinds of conditions in more detail if you could. That will help you get specific answers.

If you are talking about supressing drilldown on various conditions, here are couple of ways that we do it -
1>> Bypass the drilldown statement in the stylesheet by using DM statements

ON TABLE SET STYLE *
-IF &VAR1 EQ 'X' GOTO LBL_SKPDRLL;
-IF &VAR2 EQ 'Y' GOTO LBL_SKPDRLL;
TYPE=DATA,OBJECT=FIELD,ITEM=1,FOCEXEC=......
-LBL_SKPDRLL
ENDSTYLE

2>> Or you can dynamically comment out Drilldown statements by assigning '-*' to the front like this..

-SET &COM1=IF (&VAR1 EQ 'X') OR (&VAR2 = 'Y')
- THEN '-*' ELSE ' ' ;
-*
ON TABLE SET STYLE *
&COM1.EVAL TYPE=DATA,OBJECT=FIELD,ITEM=1,FOCEXEC=......
ENDSTYLE

Best Regards,
Sandeep Mamidenna


-------------------------------------------------------------------------------------------------
Blue Cross & Blue Shield of MS
WF.76-10 on (WS2003 + WebSphere) / EDA on z/OS + DB2 + MS-SQL
MRE, BID, Dev. Studio, Self-Service apps & a dash of fun !! Music
 
Posts: 218 | Location: Jackson, MS | Registered: October 31, 2006Report This Post
Expert
posted Hide Post
Are you talking about conditional drill-downs using 'WHEN'?

If so, you have to DEFINE a field that contains the multiple conditions. e.g.:

DEFINE FILE CAR
DD1/A03 = IF SALES GT 1000 AND WHEELBASE GT 2 THEN 'YES' ELSE 'NO';
END
TABLE FILE CAR
SUM
DD1 NOPRINT
WHEELBASE NOPRINT
SALES/D10
BY COUNTRY
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=COUNTRY, FOCEXEC=CALLJSP (COUNTRY=COUNTRY), WHEN= DD1 EQ 'YES', $
ENDSTYLE
END
-RUN


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
Member
posted Hide Post
quote:
Francis

Hi Francis,

Yes, it's the solution for me. Thank you

Best Regards,
B. H. Tang
 
Posts: 4 | Registered: May 03, 2007Report 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     How to apply more condition for Drill condition

Copyright © 1996-2020 Information Builders