Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Dates

Hi all   Just a question around dates.    I've completed a few reports where I've added a date table in to create a relationship with the data itself.   Once I add my Many to One or One to One ...
  • amitchandak's avatar
    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]

     

     

  • FrankAT's avatar
    5 years ago

    Hi Anonymous 

    you have to keep two differences in mind:

     

    1. 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.

    2. 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)