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.
Hi,
With M, How can I convert my Week Ending column from a simple mm/dd/yy to something like WE mmdd?
Solved! Go to Solution.
If it hates that, try this instead:
"WE " & Date.ToText([my-date-column],"MMDD")
This is my solution (adding a new column)
="WE " & Date.ToText(Date.EndOfWeek([date-column], Day.Sunday),"MMdd")
Thanks for the guidance
Note: dd should be in lower case and not DD
Would this work:
Date.ToText([my-date-column],"WE MMDD")
If it hates that, try this instead:
"WE " & Date.ToText([my-date-column],"MMDD")
Somehow, I know about that function however I don't know how to do that exactly like what's the complete command would look like and do I need to add extra column or can I work on the same column and apply this command, but again how do I apply the command if it's the same column that I'm working with.
This is my solution (adding a new column)
="WE " & Date.ToText(Date.EndOfWeek([date-column], Day.Sunday),"MMdd")
Thanks for the guidance
Note: dd should be in lower case and not DD
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 |
---|---|
114 | |
100 | |
81 | |
70 | |
62 |
User | Count |
---|---|
148 | |
116 | |
104 | |
90 | |
65 |