BookmarkSubscribeRSS Feed
Calcite | Level 5
How do I add a hyperlink to a GKPI image so that a user can link to detail data directly from the image?


Meteorite | Level 14
I had requested this functionality when gkpi first came out, but it got marked 'nofix' (S0398520). I would suggest contacting SAS tech support, and letting them know you're interested in this capability - if they know there's enough customer-interest, that might help justify adding this feature in the future.

In the meantime ... the only work-around I know of is to run gkpi and let it create the kpi in an image, and then annotate that image onto a traditional SAS/Graph (proc gslide might be convenient), and use the 'html' variable in the annotated image to implement the html hyperlink. This is kind of a round-about "ugly" way to do it (and quite a challenge to get everything "just right"), but it's the only way that comes to mind.

Here's an example that uses this technique:
Calcite | Level 5
Thanks Robert! That's a nice looking dashboard.
You're right though....That is an ugly way to have to get there. I dropped a note to tech support as per your suggestion, to get/keep this on the radar.

I'm hoping that there's an undocumented technique/option that has recently become available to save me from tweaking all that code. I really appreciate you getting me started though.

Thanks again!




Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Get the $99 certification deal.jpg



Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 2 in conversation