Forum Discussion

Hudg16's avatar
Hudg16
Helper I
4 years ago
Solved

Converting date format from direct query

I have a date format that is in a string as: mm/dd/yyyy 00:00:00 (always is 00) how can I parse out a new column from this just as the mm/dd/yyyy? the data is a direct query so i cannot u...
  • Greg_Deckler's avatar
    Greg_Deckler
    4 years ago

    Hudg16 Oh yeah, you would need to create a calculated column or measure like:

    Column = LEFT([Date],SEARCH(" ",[Date])-1)