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
Anonymous
Not applicable

Change date format on charts

Hello Community,

 

Am facing trouble on changing the date format on 1 chart of the report am generating.

 

For some reason, the 1st chart you see was doable to change the date format to: DD MMM YY.

 

However, for the 2nd chart, it was not possible to implement the same given that am looking for MMM YY format.

 

Please see below for better illustrations:

 

1) 

Mobafa_0-1649694687521.png

 

2) 

Mobafa_1-1649694706150.png

Any help is greatly appreciated, thank you all in advance!

 

Regards,

Mo

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

Please refer to my pbix file to see if it helps you.

Create a column.

Column = FORMAT(Targets[Date],"MMM YY")

Then create a column to sort.

Column 2 = year(Targets[Date])& FORMAT(Targets[Date],"MM")

Then change the column2 type to whole number.

vpollymsft_0-1650336059757.png

Then sort column by column2.

vpollymsft_1-1650336086054.png

vpollymsft_2-1650336120726.png

Best Regards

Community Support Team _ Polly

 

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

6 REPLIES 6
Anonymous
Not applicable

Hi @Anonymous ,

Please refer to my pbix file to see if it helps you.

Create a column.

Column = FORMAT(Targets[Date],"MMM YY")

Then create a column to sort.

Column 2 = year(Targets[Date])& FORMAT(Targets[Date],"MM")

Then change the column2 type to whole number.

vpollymsft_0-1650336059757.png

Then sort column by column2.

vpollymsft_1-1650336086054.png

vpollymsft_2-1650336120726.png

Best Regards

Community Support Team _ Polly

 

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

 

 

Anonymous
Not applicable

Thank you so much, it did work!

Anonymous
Not applicable

Hi @Anonymous ,

Please have a try.

Click the column>> column tools>> sort by column>>drop down to select sort by date.

vpollymsft_0-1649988965928.png

vpollymsft_1-1649989028098.png

vpollymsft_2-1649989113489.png

 

 

 

Best Regards

Community Support Team _ Polly

 

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

Anonymous
Not applicable

Hi @Anonymous ,

Please refer to my pbix file to see if it helps you.

Create a column.

Column = FORMAT('Table'[date],"MMM YY")

vpollymsft_0-1649910158077.png

If I have misunderstood your meaning, please provide your pbix file without privacy information and your desired output.

 

Best Regards

Community Support Team _ Polly

 

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

Anonymous
Not applicable

Hi @Anonymous 

 

I did sort column by date and an error message came up stating:

 

"We can't sort the 'Column' column by "Date". There can't be more than one value 'Date' for the same value in 'Column'. Please choose a different column for sorting or update the data in 'Date'. "

 

Below link is a sharable link for you to review the file w/o privacy info:

 

https://drive.google.com/file/d/1HtuVfyN7F7uvBp8UZK3BT-voeU942rs2/view

 

 

Thank you,

Mo

Anonymous
Not applicable

Hi There,

 

It did the trick and now the day format is shrinked. However, there is a little problem with it.

 

It looks like the new format is not sorting in date order; instead, it is sorting out everything alphebitically.

 

Below screenshot is posted for illustiration:

Mobafa_1-1649986811606.png

 

Thanks again for your support.

 

Regards,

Mo

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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!

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