Forum Discussion
Linking calendar table issues
- 7 years ago
you use a financial calendar.
The Power BI time intelligence works with the "normal" calendar.
So the function SAMEPERIODLASTYEAR will not compare the same financial period.
"A disadvantage of the 4–4–5 calendar is that it has only 364 days (7 days x 52 weeks), meaning a 53rd week will need to be added every five or six years: this can make year-on-year comparison difficult."
Here my sample pbix file.
- 7 years ago
You have to activate the preview feature in the options
you use a financial calendar.
The Power BI time intelligence works with the "normal" calendar.
So the function SAMEPERIODLASTYEAR will not compare the same financial period.
"A disadvantage of the 4–4–5 calendar is that it has only 364 days (7 days x 52 weeks), meaning a 53rd week will need to be added every five or six years: this can make year-on-year comparison difficult."
Here my sample pbix file.
Thanks a lot. This worked perfectly. I followed your steps, creating a full financial calendar...and then creating a separate unique dates calendar for firest of each month....and then appending the unique dates to my original dataset.
Then I create a relationship Many (my dataset) to One (my full financial calendar). Works great.
I have one more problem:
For exmaple the date field in your full calendar table in PowerBI, is not a hierarchy, can we create a hierarchy from this ?
Any why is it not happening automatically ?
Thank you
Blyton
- mwegener7 years agoMost Valuable Professional
I'm not sure what you mean, but with drag an drop on the field list you could create your own hierarchy.
- blytonpereira7 years agoHelper II
In the screenshot you uploaded it is wokring fine. However I tried downloading your file, the date Hierarchy is not create by default.
My goal is to create a simple hierarchy from the date = year quarter month day, just like in your screenshot.
And when I try to create this hierarchy as you described desribed above it does not seem to work
- mwegener7 years agoMost Valuable Professional
You have to activate the preview feature in the options