BookmarkSubscribeRSS Feed
mariusg
Obsidian | Level 7

Hi SAS-Users,

i build one stored process with some code to display key performance indicators in the SAS Web Report Studio.

The Problem :

when i write the following lines :

proc gkpi mode=raised;

speedometer

actual=.55

bounds=(0 .40 .60 1)/target=.85

lfont=(f="Albany AMT" height=.5cm)

label="Test1"

format="percent8.0";

run;

proc gkpi mode=raised;

speedometer

actual=.55

bounds=(0 .40 .60 1)/target=.85

lfont=(f="Albany AMT" height=.5cm)

label="Test2"

format="percent8.0";

run;

I get two kpis over a stored process into the SAS Web Report Studio.

Is there a chance to display the kpis side by side and not among each other?

I tried to write the following with ods tagsets

ODS tagsets.sasreport12 event=row_panel(start);

/* Close 4th and last column of Row #1 */

ODS tagsets.sasreport12 event=column_panel(start);

/* Close first panel */

ODS TAGSETS.sasreport12 event = panel(start);

proc gkpi mode=raised;

speedometer

actual=.55

bounds=(0 .40 .60 1)/target=.85

lfont=(f="Albany AMT" height=.5cm)

label="Absatz 1"

format="percent8.0";

run;

ODS tagsets.sasreport12 event=column_panel(finish);

ODS tagsets.HTMLpanel event=column_panel(start);

proc gkpi mode=raised;

speedometer

actual=.55

bounds=(0 .40 .60 1)/target=.85

lfont=(f="Albany AMT" height=.5cm)

label="Absatz 2"

format="percent8.0";

run;

ODS tagsets.sasreport12 event=row_panel(finish);

/* Close 4th and last column of Row #1 */

ODS tagsets.sasreport12 event=column_panel(finish);

/* Close first panel */

ODS TAGSETS.sasreport12 event = panel(finish);

again the kpis are displayed among each other in the SAS Web Report Studio.s

Is there a solution to display n-kpis side by side?

Thanks and regards from Germany,

Marius

1 REPLY 1
ucvikas
Obsidian | Level 7

Hi Marius

There is no direct way to display graphs side by side using proc GKPI . first you have to use proc GKPI then proc gslide which will create .png files and then you can use proc greplay to place them on the same page ;

if you require code you can write to me . but that is the only way i know which can be used to place multiple graphs on same page.

thanks

Vikas

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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

View all other training opportunities.

Discussion stats
  • 1 reply
  • 953 views
  • 0 likes
  • 2 in conversation