Forum Discussion
YTD Cumulative for weekly figures
[my first attempt to answer a query for someone else!!] 🙂
I assume you already have a calendar set up? But replace the calendar[date] in my version for your date column and it should work for you.
this is a good cumulative measure that I use a lot if you do:
- Anonymous6 years agoNot applicable
I didn't actually. I had no idea what a Calendar is. A regular calendar? In columnar format? Add as a new colume?
Jen
- Anonymous6 years agoNot applicable
Thanks a lot for your reply.
- Pmorg736 years ago
Post Patron
It would be worth your while quickly researching creating calendars (loads on youtube - check Enterprise DNA). It gives you a new table that you make a relationship to your data table with. Then you have Time inteligence (as they call it) and you can measure against a set calendar range, using days, months, years or whatever.
eg
create Table button and enter this:
calendar = CALENDAR(DATE(2018,04,01),date(2021,03,31))from here create columns for months, weeks, Financial year months, month numbers. Lots and lots of options that you adjust for your requirements. I typically have a month number; financial year month number; year; quarter, Day number; Day of week numbereg -month number = month('calendar'[Date])Day = DAY('calendar'[Date])
- Anonymous6 years agoNot applicable
Thanks a lot for your reply. Jen