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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors