If I use lastyearYTD formulas, it relies on system date or Report SET DATE & TIME. I need to be able to use a Parameter defined date to measure Current Year To Date and Last Year To Date vs System Date or Set Date.
(
{table.date} in dateserial(year({?ParmDt}-1),1,1) to dateserial(year({?ParmDt}-1),month({?ParmDt}),day({?ParmDt})) or
{Table.date} in dateserial(year({?parmDt}),1,1) to {?parmDt}
)
The beauty of this is that it does not require a formula and the Show SQL Query will show the dates in your record selection
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.