First post for me here.
Trying metabase on docker, version 1.46.2 , aiming to replace old SAP BW.
I am stuck trying to have a comparison of quantity/payments with same period of previous year.
Let's say i have a question, or a dashboard, with a date range, summarized by month. What i need is another column showing the datas of previous year's month ( or previous year's period of time).:
Item Payment Payment(same period , previous year)
Item1 100 EUR 85 EUR
Item2 150 EUR 120 EUR
... ... ...
I spent lot of time searching, and the official "solution" ( Comparing time periods ) is to create a custom expression like this
"SumIf([Payment], between([Date Received], "2021-01-01", "2021-12-31"))"
But of course i dont want to specify fixed dates. I would like that it reads the date range of the filter, if possible.
I hope i was clear enough, thanksin advance and forgive my awful english