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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
misaki233
Helper II
Helper II

Use FORMAT() function

Hi everyone!

 

I want to use FORMAT([Date],"mmm") to show month like "Aug".

1-1.png
As you can see, Column 1 is using FORMAT() but returns wrong results. Column 2 is using MONTH() and returns correct results. 

What caused the FORMAT() to return the wrong result?

Thank you in advance.

 

1 ACCEPTED SOLUTION
FarhanAhmed
Community Champion
Community Champion

You are using "Date" column in formula 

Try use "Review Date"

 FORMAT([Review Date],"mmm")







Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

Proud to be a Super User!




View solution in original post

5 REPLIES 5
misaki233
Helper II
Helper II

Hi All,

 

I found that I accidentally nested a MONTH() in FORMAT(), and the problem has been solved. Thanks everyone for your help!

 

amitchandak
Super User
Super User

@misaki233 , Check review date is detected as date of not. If not Change data type to date and then try

 

FORMAT([Review Date],"mmm")

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Corect column should be review date. Also check to make sure the column is in date format. 

pranit828
Community Champion
Community Champion

Hi @misaki233

Since data is aligned to its right it is a date data type. It it was text it will be aligned to left.

Below is the formula for date data type.

 

MMM_Date = FORMAT(SELECTEDVALUE(Table[Review Date]),"MMM")

 

O/P:

pranit828_0-1597722469971.png

 





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile
FarhanAhmed
Community Champion
Community Champion

You are using "Date" column in formula 

Try use "Review Date"

 FORMAT([Review Date],"mmm")







Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

Proud to be a Super User!




Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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