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 date_key column which is in the format of 20230401, 20230402,...... 2023 is year, 04 is month & 01,02 ..are days. Tha data type of the date_key column is whole number. I want a new column in my table which consists of only days 01,02,...30/31. How to do?
Solved! Go to Solution.
Hi,
In Power Query you can create a new column with the days extacted from your original column.
In Power Query go to Transform -> Extract -> Last characters
If you want it in DAX instead, you can also use the LEFT function to get the same result.
Hi,
In Power Query you can create a new column with the days extacted from your original column.
In Power Query go to Transform -> Extract -> Last characters
If you want it in DAX instead, you can also use the LEFT function to get the same result.
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 |
---|---|
105 | |
105 | |
88 | |
73 | |
66 |
User | Count |
---|---|
122 | |
112 | |
98 | |
79 | |
72 |