I want previous year sales data,
Need to match the current date with previous year date and get sales data for the previous date.
I have tried using join and union tools,
initially joining the previous year transaction date with current year transactiondate and trying to get the prev year net sales, but values are not accurate.
i am getting null for previous year sales
| Current Year Date | Previous Year Date | Current Year Sales | Previous Year Sales |
| 21-12-2021 | 20-12-2020 | 166668888 | Null |