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) -
Hi ! and thanks for your reploy
I already have these columns , the problem is with the graphic ==>
My guess would be that the format you have isn't a recognised date format, and that Power BI is interpreting it as a number?
- Sanmelmer5 years agoRegular Visitor
Hello!
no, it is a date and its recognized.
The problem is that I want to make a graphic with the WEEKS in the X axis.
I have weeks from 2020 and 2021. The weeks 1, 2... from 2021 should go after w53 of 2020. But Power bi doesnt recognize that should go like that and put w 1,2... before in a logical order.
(If i put the days (not weeks) it is ok! but i need the weeks in the graphic)
- Anonymous5 years agoNot applicable
Hi
This post may be of use to you...
Solved: How to show just the week number in my chart when ... - Microsoft Power BI CommunityHope it helps