Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a column with string data like this: "Message Age_28Apr2020.xlsx"
I am using this DAX to extract the date information into a separate real date column:
Solved! Go to Solution.
@Anonymous , Recreate this column like. You should be able to change data type to date
new column = left([Datecol],2) &"-"& mid([Datecol],3,3)&"-"& right([Datecol],4)
28-Apr-2020
Thank you for the formula. Any idea why I'm unable to change the data type to 'Date'? It gives me an #Error.
@Anonymous , Recreate this column like. You should be able to change data type to date
new column = left([Datecol],2) &"-"& mid([Datecol],3,3)&"-"& right([Datecol],4)
28-Apr-2020
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
97 | |
97 | |
82 | |
74 | |
66 |
User | Count |
---|---|
120 | |
105 | |
99 | |
81 | |
72 |