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     conditional drill down in across

Read-Only Read-Only Topic
Go
Search
Notify
Tools
conditional drill down in across
 Login/Join
 
Virtuoso
posted
I want a conditional drill down from an across field.
It seems however not to work.

any suggestions?




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Expert
posted Hide Post
TABLE FILE CAR
SUM
SALES
ACROSS COUNTRY
BY SEATS
ON TABLE SET STYLE *
TYPE=DATA, ACROSSCOLUMN=SALES, FOCEXEC=TESTBB (COUNTRY=COUNTRY SEATS=SEATS), $
TYPE=ACROSSVALUE, FOCEXEC=TESTCC (COUNTRY=COUNTRY), $
END


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
Expert
posted Hide Post
Oops, forgot about the conditional drill-down!

By the way:

I for h-I-m e.g. Francis Sinatra.
E for h-E-r e.g. Frances Farmer.

Cheers Smiler


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
<chris>
posted
Not working for me. I changed the drilldown to make sure the missing procedures were not killing the drilldowns:

TABLE FILE CAR
SUM
SALES
ACROSS COUNTRY
BY SEATS
ON TABLE SET STYLE *
TYPE=DATA, ACROSSCOLUMN=SALES, URL=http://www.google.com, WHEN=COUNTRY EQ JAPAN,$
TYPE=ACROSSVALUE, URL=http://www.google.com,WHEN=COUNTRY NE JAPAN, $
END

The WHEN conditions don't seem to be respected. Remove the WHEN conditions and the drilldown appear. Any thoughts?
 
Report This Post
Expert
posted Hide Post
me neither , Chris. i've never been able to get conditionals and across's to cooperate.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Guru
posted Hide Post
Here's another example initially created in Dev Studio and then extended:

TABLE FILE CAR
SUM
     COUNTRY NOPRINT
     SALES
ACROSS COUNTRY
BY SEATS
ON TABLE NOTOTAL
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     UNITS=IN,
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
$
     DEFMACRO=COND0001,
     MACTYPE=RULE,
     WHEN=N2 EQ 'JAPAN',
     URL=http://www.google.com,
$
     DEFMACRO=COND0002,
     MACTYPE=RULE,
     WHEN=N2 NE 'JAPAN',
     URL=http://www.yahoo.com,
$
TYPE=REPORT,
     GRID=OFF,
     FONT='TIMES NEW ROMAN',
     SIZE=10,
     COLOR='BLACK',
     BACKCOLOR='NONE',
     STYLE=NORMAL,
$
TYPE=DATA,
     ACROSSCOLUMN=N2,
     MACRO=COND0001,
$
TYPE=DATA,
     ACROSSCOLUMN=N2,
     MACRO=COND0002,
$
ENDSTYLE
END

This message has been edited. Last edited by: gregv,



Greg



current client: WF 8.1.05 & 8.2 - Windows 7 64bit - Tomcat 7 - MRE / BID - IE11

local: WF 8.2 - Windows 7 64bit - Tomcat 6 - MRE / BID - FOCUS - IE11

PMF 8
 
Posts: 274 | Location: Boston/New England | Registered: February 12, 2006Report This Post
Virtuoso
posted Hide Post
FYI, the proper syntax to refer to the ACROSSVALUES of a particular ACROSS field is

TYPE=ACROSSVALUE, ACROSS=COUNTRY, ...

However, the conditional styling still does not seem to work at least with WF713.


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Virtuoso
posted Hide Post
If I take gregv's example as is, it works.
If I use mgrackin's syntax, it does not work any more.
Anyway, the only drawback of greg's solution is that every no-data cell will always drill down into the yahoo url, so in the macro where the country is not equal to japan.
As far as I know, the only way around that (if you need to go around it), is by using a holdfile to be able to create the correct intermediate values for missing data.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 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     conditional drill down in across

Copyright © 1996-2020 Information Builders