Forum Discussion
Dates
- 5 years ago
Anonymous , When you create a date table and mark it date column it will ask for date that will become Key. So you will not have a hierarchy.
You can create a custom hierarchy or have another date column that can have hierarchy
Date 1 = [Date]
- 5 years ago
Hi Anonymous
you have to keep two differences in mind:
-
The first icon is used for a table that is set as calendar table. In the calendar table, you can create any own hierarchies. In model view, simply drag the month column over the year column, and so on.
-
The second icon marks a column that contains dates and is internally managed by Power BI Desktop and provided with a date hierarchy. This operation can be influenced in the options settings. You have no influence on these hierarchies!
Take a look at tab File > Option and settings > Option > Load Data (Global) > Time intelligence > Auto date/time for new file.
Take a look at tab File > Option and settings > Option > Load Data (Current File) > Time intelligence > Auto date/time.
With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
FrankAT (Proud to be a Datanaut) -
Anonymous , When you create a date table and mark it date column it will ask for date that will become Key. So you will not have a hierarchy.
You can create a custom hierarchy or have another date column that can have hierarchy
Date 1 = [Date]
- Anonymous5 years agoNot applicable
Hi amitchandak
Thanks for your response.
I had tried adding a further date, but I have just tried again but it does not give me the heirachy?
Here is the column I added:
Here is the resulting column type:
And as you can see, no heirachy available:
Am i missing something obvious?
Thanks
- Anonymous5 years agoNot applicable
Any further views on this issue?
- avik_bc5 years agoRegular Visitor
Hi,
Can somebody please show me how to create a range of dates from a Date table? I have weekly date table from 2014 till date. I need to create a date table containing dates from January 1, 2014 to December 31, 2014. Creating a separate calendar for that period is not helping. Anybody?