Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Sebastian
Advocate III
Advocate III

Format date time field. Wrong name of month

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

1 ACCEPTED SOLUTION
Tsanka
Kudo Collector
Kudo Collector

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")

 

 

 

View solution in original post

3 REPLIES 3
Tsanka
Kudo Collector
Kudo Collector

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.

 

Sebastian
Advocate III
Advocate III

It also happens if i try the function on a normal date field. Is there a bug in the latest update?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors