Forum Discussion
Hudg16
4 years agoHelper I
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 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_DecklerCommunity Champion
Hudg16 You should be able to right-click the column header and then Change type and then Date
- rodrigosanResponsive Resident
Select column,
In the menu above click on transform,
Go to the Date option and click on Date Only:- Hudg16Helper 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_DecklerCommunity Champion
Hudg16 Oh yeah, you would need to create a calculated column or measure like:
Column = LEFT([Date],SEARCH(" ",[Date])-1)