cancel
Showing results for 
Search instead for 
Did you mean: 

Prompts with dynamic default values

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

sateesh_kumar1
Active Contributor
0 Kudos

Hi Sandeep ,

Below blog may answer your query .

Dave’s Adventures in Business Intelligence » Dynamic Dates Part III: Monthly Dat...

Search for And for Last Month?