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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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")

Share with Power BI Enthusiasts: 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. 

Anonymous
Not applicable

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

 

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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