Forum Discussion

Razik_BNPL's avatar
Razik_BNPL
Frequent Visitor
2 years ago
Solved

Calendar table relationships problem

I have this calendar table   Calendar = var MinDate = MIN(Final[Submit Date and Time]) Var MaxDate = Max(Final[Submit Date and Time]) VAR Days = CALENDAR (MinDate , MaxDate ) RETURN ADDCOLUMNS...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi Razik_BNPL ,

    The date column in the "Final" table has a timestamp, so you need to create a separate date column and use that date column to create a relationship with the calendar table.

    Date =
    DATE ( YEAR ( 'Final'[Submit Date and Time] ), MONTH ( 'Final'[Submit Date and Time] ), DAY ( 'Final'[Submit Date and Time] ) )

     

    Best Regards,
    Gao

    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
    If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

    How to get your questions answered quickly --  How to provide sample data in the Power BI Forum