BookmarkSubscribeRSS Feed
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?
Text objects display unformatted filter values. This note describes the problem and the available workarounds.

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.
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?



Time is running out to save with the early bird rate. Register by Friday, March 1 for just $695 - $100 off the standard rate.


Check out the agenda and get ready for a jam-packed event featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events. 


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
  • 2 in conversation