Forum Discussion
theglamgamer
3 years agoRegular Visitor
convert date text to data type date using DAX
Having issue converting this date text to data type date: Feb 3, 2021 12:00:00 EST I tried using Date Format = DATEVALUE and DATEVALUE(FORMAT(Details[Plugin Modification Date],"MMM/DD/YYYY...
- 3 years ago
Column = CONVERT ( LEFT ( 'Table'[Date], 12 ), DATETIME )Also DATEVALUE + LEFT should work
Column = DATEVALUE ( LEFT ( 'Table'[Date], 12 ) )
tamerj1
Community Champion
3 years agoHi theglamgamer
please try CONVERT - DATETIME. otherwise it will be complex 😅
- theglamgamer3 years agoRegular Visitor
Can you share an example? 🙂
- tamerj13 years ago
Community Champion
Column = CONVERT ( LEFT ( 'Table'[Date], 12 ), DATETIME )Also DATEVALUE + LEFT should work
Column = DATEVALUE ( LEFT ( 'Table'[Date], 12 ) )