Forum Discussion
Hudg16
Helper I
4 years agoConverting 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 use power query
Hudg16 Oh yeah, you would need to create a calculated column or measure like:
Column = LEFT([Date],SEARCH(" ",[Date])-1)
4 Replies
- Greg_Deckler
Community Champion
Hudg16 You should be able to right-click the column header and then Change type and then Date
- rodrigosan
Responsive Resident
Select column,
In the menu above click on transform,
Go to the Date option and click on Date Only:- Hudg16
Helper I
rodrigosan Greg_Deckler
My apologies, the data is in a direct query from another bi dataset, thus I cannot use Power Query. Any other ideas?- Greg_Deckler
Community Champion
Hudg16 Oh yeah, you would need to create a calculated column or measure like:
Column = LEFT([Date],SEARCH(" ",[Date])-1)