Data visualization with SAS programming

Proc GKPI

Reply
Occasional Contributor
Posts: 9

Proc GKPI

How do I add a hyperlink to a GKPI image so that a user can link to detail data directly from the image?

Thanks

Keith
SAS Employee
Posts: 967

Re: Proc GKPI

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:

http://robslink.com/SAS/democd26/kpidash.htm
http://robslink.com/SAS/democd26/kpidash_info.htm
Occasional Contributor
Posts: 9

Re: Proc GKPI

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!

Keith
Ask a Question
Discussion stats
  • 2 replies
  • 242 views
  • 0 likes
  • 2 in conversation