Forum Discussion
5-4-4 Fiscal Calendar
I am struggling with crating a fiscal calendar in Power BI. We follow a 5-4-4 week format, so for instance our 2015 fiscal year started Sunday, 12/28/2014.
While I downloaded a template, there are inherent flaws that when importing the dataset my numbers are becoming exaggerated.
Looking for some expertise on how I can implement a fiscal calendar that look forward from 2015 into the future.
Appreciate any help that the message board can provide.
7 Replies
- AnonymousNot applicable
One big thing to keep in mind is that a custom calendar like that can potentially break a lot of time intelligence functions. You have to implement your own versions.
So for example instead of
Sales MTD = CALCULATE( SUM(SalesTable[Amount]), DATESMTD(DateTable[Date]) )
...you may have to do something like
Sales MTD = VAR enddate = LASTDATE(DateTable[Date])
VAR mth = LASTNONBLANK(DateTable[Month of Year], 1) RETURN CALCULATE( SUM(SalesTable[Amount]), FILTER( ALL(DateTable), DateTable[Month of Year] = mth && DateTable[Date] <= enddate ) )- AnonymousNot applicable
Indeed, that is what I am afraid of...
I appreciate the feedback, but not sure I am closer how to do this.
Are there resources or information that you think you can point me towards...
- v-huizhn-msft
Microsoft Employee