Forum Discussion

whitehatone's avatar
whitehatone
New Member
4 years ago
Solved

strange date format in table

Hi! I got a column in format 2018-09-30 00:00:00.000000 +02:00      But how do I format a new column as yyyymmdd from that data?   I tried to split into three new column and merge but I get a -"Th...
  • Anonymous's avatar
    Anonymous
    4 years ago

    HI whitehatone,

    According to your snapshot, you are faced with date timezone values but they seem not correctly recognized and converted to DateTime values. (You can use this type of value in query edit but the power bi data mode table does not support these types of values)

    In addition, it seems like you are working with 'direct query' mode. currently, this mode has been limiting most of the Dax functions used in the calculated column or table.

    Perhaps you can change to import mode to enable these edit features or try to use t-sql query to do split and transform operation if the data connector support advanced SQL statements.

    Power Query SQL Server connector - Power Query | Microsoft Docs
    Regards,

    Xiaoxin Sheng