Forum Discussion

Likhitha's avatar
Likhitha
Helper IV
6 years ago
Solved

Doubt regarding CALENDARAUTO() function

Hello All, I created a callendar function using CALENDARAUTO() DAX .But I'm getting year range from 1899 in newly created table and relationship exists between OrderDate and Calendar Table.
  • az38's avatar
    6 years ago

    Hello @Likhitha

    according to https://docs.microsoft.com/en-us/dax/calendarauto-function-dax

    The earliest date in the model which is not in a calculated column or calculated table is taken as the MinDate.

    of my experience, its 1899 appears in the calendar table as at least one (at least) of its date columns in the data model has the value BLANK, so DAX defines it as a possible first date to calculate