i need your help, please.
I want to measure the Total amount of the last year (YTY-1).
But i have one restiiction: I am using a measure of the YTD. If I filter the month, I get the YTY-1 with filtered values too. But it should measure the total value of the last year
Best regards from Germany 🙂
my current measure:
Go to Solution.
Hi!Do you have a Date table (Set and use date tables in Power BI Desktop - Power BI | Microsoft Learn)?If so, PREVIOUSYEAR() should work, in the form of:
[korrigierter Betrag], //assuming this is the measure you want to calculate
PREVIOUSYEAR(Dates[Date]) //date column from your date table
View solution in original post
yeah, it works well. I know one more function now too. Thanks for that!
Take a look at the September 2023 Power BI update to learn more.
Join Microsoft Reactor and learn from developers.