Forum Discussion

tez's avatar
tez
Resolver I
6 years ago
Solved

Strange error with Date.DayOfWeek function

If I add a column with this function:   = Table.AddColumn(dbo_CMDB_PerformanceData, "WochentagStundeSort", each Date.DayOfWeek([Date], Day.Monday))   the column is displayed correctly in Power ...
  • tez's avatar
    tez
    6 years ago

    Hi v-lid-msft ,

    good news: My colleague changed the type from datetime to datetime2 in the MSSQL view. After this both operations worked as expected!

    Regards,

    Thomas