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
Opal | Level 21

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 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!

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
  • 897 views
  • 0 likes
  • 3 in conversation