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

SAS INNOVATE 2024

Innovate_SAS_Blue.png

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
  • 1 reply
  • 823 views
  • 0 likes
  • 2 in conversation