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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
harsin
Frequent Visitor

How to shorten Months into Mmm format for visuals

I have created visuals with date on the x-axis, due to space I want to shorten the months to Mmm format on the visual (ideally mmm-yy is possible).

 

I have tried creating a new column that shows this format but when I use it to build the visual it shows the month name in full.

harsin_0-1706653110719.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @harsin

Based on your question, here are my answers.

First create a table including Month and Year columns.

vyilongmsft_0-1706673222726.png

Then use the DAX code to create a New Column.

Column = LEFT('MonYear'[Month],3) &"-" & RIGHT('MonYear'[Year],2)

vyilongmsft_2-1706673452154.png

This will give you the results you want.

vyilongmsft_3-1706673550237.png

 

 

 

How to Get Your Question Answered Quickly 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

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

3 REPLIES 3
Anonymous
Not applicable

Hi, @harsin

Based on your question, here are my answers.

First create a table including Month and Year columns.

vyilongmsft_0-1706673222726.png

Then use the DAX code to create a New Column.

Column = LEFT('MonYear'[Month],3) &"-" & RIGHT('MonYear'[Year],2)

vyilongmsft_2-1706673452154.png

This will give you the results you want.

vyilongmsft_3-1706673550237.png

 

 

 

How to Get Your Question Answered Quickly 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

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.

Idrissshatila
Super User
Super User

Hello @harsin ,

 

if you create a calculated column that says 

 

month = format ('YourTableName'[Date],"mmm")

this should return month short like Jan and Feb



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Thanks Idrissshatil, I tried this poreviously and it did not work

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors