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
Diamond | Level 26
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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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