How can I get dynamically define day of the month? For example get always 10th of each month and use it as part of the report filter, i.e. on February 28th it will return February 10th, on March 5th filter will use February 10th again, but on March 11th, report will be running with March 10th.
Dynamically set the prompt default value to last day of the month
On the prompt page, drag a value prompt and change its name to endOfMonthPrompt in the properties pane.
Drag an HTML item next to the prompt containing the following code:
Drag a query calculation to the right of the HTML item in step 2, and paste the following expression:
EXTRACT(day, current_date) + _days_to_end_of_month (current_date)
Drag another HTML item to the right of the calculation in step 3, and add the following code: