Report has two parameters
DateFrom
DateTo
DateTo set to "Always Refresh"
I have the following expression for DateTo
- Default Values - so that it will dynamically default to the last of the month set by DateFrom
=DateSerial(Year(Parameters!DateFrom.Value), Month(Parameters!DateFrom.Value), "1").AddMonths(1).AddSeconds(-1)
However, the field doesn't update.
It shows the correct last date of month when DateFrom
is selected the first time.
If DateFrom
is set to 15/02/2019 then DateTo
will show "28/02/2019 23:59:59".
But if you subsequently change DateFrom
to a different month, DateTo
doesn't update - still shows "28/02/2019 23:59:59".