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.
When I run the following, I only get the hyperlink for the first instance. Any idea why? When I do it without declaring the COLUMN, it seems to work fine. Thanks
GRAPH FILE CAR
SUM
WEIGHT
DEALER_COST
RETAIL_COST
ACROSS COUNTRY
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET LOOKGRAPH HBAR
ON GRAPH SET STYLE *
TYPE=DATA, TARGET='_blank', COLUMN=WEIGHT, FOCEXEC=test_hyperlink_rpt(COUNTRY=COUNTRY), $
TYPE=DATA, TARGET='_blank', COLUMN=DEALER_COST, FOCEXEC=test_hyperlink_rpt(COUNTRY=COUNTRY), $
TYPE=DATA, TARGET='_blank', COLUMN=RETAIL_COST, FOCEXEC=test_hyperlink_rpt(COUNTRY=COUNTRY), $
ENDSTYLE
END
This message has been edited. Last edited by: FP Mod Chuck,
WF 8.0.08 (Prod); WF 8.2.06 (Dev)
Posts: 83 | Location: OK | Registered: November 19, 2015
In your case it seems that you drill the same way no matter the clicked measure, use as below
GRAPH FILE CAR
SUM
WEIGHT
DEALER_COST
RETAIL_COST
ACROSS COUNTRY
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET LOOKGRAPH HBAR
ON GRAPH SET STYLE *
-*TYPE=DATA, TARGET='_blank', COLUMN=WEIGHT, FOCEXEC=test_hyperlink_rpt(COUNTRY=COUNTRY), $
-*TYPE=DATA, TARGET='_blank', COLUMN=DEALER_COST, FOCEXEC=test_hyperlink_rpt(COUNTRY=COUNTRY), $
-*TYPE=DATA, TARGET='_blank', COLUMN=RETAIL_COST, FOCEXEC=test_hyperlink_rpt(COUNTRY=COUNTRY), $
TYPE=DATA, TARGET='_blank', FOCEXEC=test_hyperlink_rpt(COUNTRY=COUNTRY), $
ENDSTYLE
END
To have specific styling per across column, use the below
GRAPH FILE CAR
SUM
WEIGHT
DEALER_COST
RETAIL_COST
ACROSS COUNTRY
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET LOOKGRAPH HBAR
ON GRAPH SET STYLE *
TYPE=DATA, TARGET='_blank', ACROSSCOLUMN=WEIGHT, FOCEXEC=111_hyperlink_rpt(COUNTRY=COUNTRY), $
TYPE=DATA, TARGET='_blank', ACROSSCOLUMN=DEALER_COST, FOCEXEC=222_hyperlink_rpt(COUNTRY=COUNTRY), $
TYPE=DATA, TARGET='_blank', ACROSSCOLUMN=RETAIL_COST, FOCEXEC=333_hyperlink_rpt(COUNTRY=COUNTRY), $
-*TYPE=DATA, TARGET='_blank', FOCEXEC=test_hyperlink_rpt(COUNTRY=COUNTRY), $
ENDSTYLE
END
This message has been edited. Last edited by: MartinY,
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013