BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
LisaSklar
Obsidian | Level 7

I am trying to add leading spaces to a calculated item that is going on a button bar, but VA won't display them. I am using 7.4. I have tried adding the spaces to the text itself inside the quotation marks, and also concatenating a sting of just spaces.

 

(This is to workaround the inability to right justify text in button bars... which is to workaround the fact that you can't put a text box in the report prompt area...)

 

Thanks.

1 ACCEPTED SOLUTION
4 REPLIES 4
Astounding
PROC Star

As a SAS programmer with no VA knowledge ...

 

Are you able to apply a format to your field?  In SAS language, the $CHAR formats maintain leading blanks that might otherwise be removed from displaying:

 

format varname $char10.;

 

 

LisaSklar
Obsidian | Level 7

Unfortunately, that did not work. Thanks for the suggestion, though. 

LisaSklar
Obsidian | Level 7
Thanks for the reply. I'm sorry to hear there's not a way to make that work, but I appreciate the response.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 1369 views
  • 0 likes
  • 3 in conversation