Skip to Content
Former Member
May 04, 2015 at 08:02 PM

Prompts with dynamic default values


I have a request from my client to modify several reports so that two date prompts will have default values populated with the first and last day of the previous month. All of the reports are currently using custom sql so I have to be able get the dynamic default value in the extended @prompt syntax. However, I am not able to use any of the sql functions since the functions merely appear as plain text as the default value itself.

I have found a few work arounds to achieve the functionality of the dynamic prompts, but I cannot get the actual default value displayed to the user to be dynamic. Is it possible to achieve this by using only the custom sql?