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.
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
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?
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
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, 2007