BookmarkSubscribeRSS Feed
Garik
Obsidian | Level 7

Hello, I hope to find the answers to some questions.

 

Dears, I add images to the tabulate report, but can not change the size of the image, it becomes kind of bigger than I need. How can I change it?

 

the code is below;

 

proc tabulate data=newlib.bookdb;
	class publisher section;
	classlev publisher / style={ background=yellow font_style=italic postimage=$ggg. width=10 height = 10};
	classlev section  / s=[ background=green];
	var saleprice;
	table (section),( publisher)*saleprice={s=[foreground=white background = red]} / box='Main' ;
run;
proc format ;
	value $ggg 
		'AMZ Publishers' = '/folders/myfolders/1_uploaded_files/Armenia_template.jpg';
run;	
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi:
PROC TABULATE will not automatically scale your image for you. The best you can do is make sure that the JPG is the size you want before you put it into the TABULATE output.

cynthia

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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
  • 1002 views
  • 0 likes
  • 2 in conversation