The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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?