I want to show the data as pivot table with date filter. The date filter should have two dates. One should be last available date from previous year and second one is filter date.
Based on above data, If I select 7/1/2022 in Control of date filter. Pivot should show only 8/1/2021 and 7/1/2022.
Make a Date parameter and add a control for it. Then make a calculated field which looks like this: ifelse({order date}=${Date} OR {order date}=addDateTime(-1, 'YYYY', ${Date}), 1, 0)