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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
jambopriti
Helper I
Helper I

How to format Date to abbreviate Month name

Hi,

I'm newbi to PowerBi and Community. and trying to get the month name abbreviate from the date.

It gives me the red line Month = Format([my_date_time_ct], "mmm")  

and  error: Failed to resolve name 'my_date_time_utc'. It is not a valid table, variable, or function name.

Can't figure it out why. Any help will be appricaiated. Thanks.

-Priti

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @jambopriti ,

I think you can change your DAX code. In a measure, you need to use MAX or SUM function.

Measure = FORMAT(MAX('Table'[my_date_time_ct]),"mmm")

Then you will get what you want.

vyilongmsft_0-1718932934862.png

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
ryan_mayu
Super User
Super User

you can also try your DAX to create a column. That should work.





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

Proud to be a Super User!




Anonymous
Not applicable

Hi @jambopriti ,

I think you can change your DAX code. In a measure, you need to use MAX or SUM function.

Measure = FORMAT(MAX('Table'[my_date_time_ct]),"mmm")

Then you will get what you want.

vyilongmsft_0-1718932934862.png

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.