BookmarkSubscribeRSS Feed
UCFAngel
Obsidian | Level 7
How can I display the formatted value of a dynamic prompt in a text object of a report. For example, the Spring 2010 term field has an unformatted value of 201001 and a formatted value of Spring 2010. When I insert the dynamic prompt value, and the user has selected Spring 2010 (displays correctly in the prompt selection box), the title of the report displays 201001. Is there any way to make the text object use formatted values of the prompt selections?
2 REPLIES 2
Madelyn_SAS
SAS Super FREQ
Text objects display unformatted filter values. This note describes the problem and the available workarounds. http://support.sas.com/kb/30/746.html

One workaround that is not documented is to create a group break on the filtered catgegory. The group break label should show the formatted values.
UCFAngel
Obsidian | Level 7
Thank you so much for your suggestions. The undocumented workaround is not feasible as we can only display a single term with this type of data so that is why we prompt the user to select a term.

I also tried the methods in the referenced problem note and was not successful. The first option is great for other fields but not for the term identifier. We need to have the term sorted with latest term first, so if we use the formatted value then all the Fall terms are together, all the Spring terms, etc. Thus, the field needs to remain in its original value with the format applied. The second method didn't work at all.

Will a future version of WRS show the formatted value for a dynamic prompt in a text object?

sas-innovate-2024.png

 

Secure your spot at the must-attend AI and analytics event of 2024: SAS Innovate 2024! Get ready for a jam-packed agenda featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events.

 

Register by March 1 to snag the Early Bird rate of just $695! Don't miss out on this exclusive offer. 

 

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