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.
Hello Gurus!
I have a field which is a text format date (YYYYMMDD). When I try to change this to a date format, it rejects it and gives an error. How can I change this to a standard date format without going overboard with splitting and joining columns.
Thanks in advance!
Paul
Solved! Go to Solution.
Column = DATE(LEFT([Column1],4),MID([Column1],5,2),RIGHT([Column1],2))
New column (DateKey) with below formula worked for me
DateKey = FORMAT(Table1[Column1].[Date],"YYYYMMDD")
Column = DATE(LEFT([Column1],4),MID([Column1],5,2),RIGHT([Column1],2))
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 |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |