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.
Hallo Community,
I try to get the name of the month from a date-time field but it always shows the wrong Month.
Example:
customerdate shown month
15.07.2015 13:34:17 Jan
I use the following function:
Name of Month= FORMAT(MONTH(Customer[Customerdate]);"MMM")
What's wrong? Any idea?
Thanks
Sebastian
Solved! Go to Solution.
I think you have to convert your date/time to date in order to correctly use the format function.
Edit: Missed the usage of month function - no need of it.
Month_Name = FORMAT([Date],"MMM")
I think you have to convert your date/time to date in order to correctly use the format function.
Edit: Missed the usage of month function - no need of it.
Month_Name = FORMAT([Date],"MMM")
Thank's a lot.
That was the mistake, didn't know why I'm using the MONTH function.
It also happens if i try the function on a normal date field. Is there a bug in the latest update?
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 |
---|---|
107 | |
98 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |