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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Custom Date Format

Hi,

 

I am trying to format a date column as MMM YYYY. I see that there is MMMM YYYY, but this takes up a lot of space on the x-axis of my charts. Is there a way to plug in the custom format of MMM YYYY?

 

Thanks!

 

 

Date Format.png

3 REPLIES 3
v-yuta-msft
Community Support
Community Support

@Anonymous ,

 

There's no such built-in format. So you may use dax function to construct such format using FORMAT(<value>, <format_string>), CONCATENATEX(<table>, <expression>, [delimiter]) and other string implementation functions.

 

Community Support Team _ Jimmy Tao

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

Anonymous
Not applicable

@v-yuta-msft , I tried using a format function, but in doing so, it changes the column to a text format rather than date, which I don't want because then it doesn't sort properly.

@Anonymous ,

 

Actually the format will be changed to text when you use format() or concatenatex(), I would suggest you to submit your idea here to help power bi add more types.

 

Community Support Team _ Jimmy Tao

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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