Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

YTD calculation

 
How do I calculate the revenue YTD?
 
I used:
 YTD 2019 = calculate(sum('invoices'[Amount]);DATESYTD('invoices'[Posting_Date]))
 
But it does not work. I also want to use SamePeriodeLastYear for 2018.
 
posting dates en invoices are starting in 01/01/2018 until now.
  • Anonymous  you need to have a date table for date functions, have you got a separate date table?

6 Replies