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
February 19, 2007, 11:39 AM
Francis Mariani
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
February 19, 2007, 11:53 AM
Francis Mariani
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
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
January 03, 2008, 11:45 AM
<chris>
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?
January 03, 2008, 10:02 PM
susannah
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
January 04, 2008, 09:46 AM
gregv
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
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
January 07, 2008, 04:29 AM
GamP
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.