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

Sorting By Date did not work with Barchart

Hi i have sales data with 4 columns(Date, Expected, Actual, and Returns). I created clustered bar chart with a line. 

 

domcv_0-1658342151297.png

 

For better readerbility,changed the full month name to month with 3 letters. After setting short month name i cant change the order of the date.

 

here i attached the sample pbix file.

 

https://drive.google.com/file/d/16HizesF9Si7N9J4afFBnsvWwRB_2K-4Y/view?usp=sharing

1 ACCEPTED SOLUTION
v-xiaotang
Community Support
Community Support

Hi @Anonymous 

Thanks for reaching out to us.

You can try this,

vxiaotang_2-1658766532980.png

then click sort by column

vxiaotang_3-1658766561959.png

result

vxiaotang_4-1658766587064.png

vxiaotang_5-1658766602594.png

 

Best Regards,

Community Support Team _Tang

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

View solution in original post

3 REPLIES 3
v-xiaotang
Community Support
Community Support

Hi @Anonymous 

Thanks for reaching out to us.

You can try this,

vxiaotang_2-1658766532980.png

then click sort by column

vxiaotang_3-1658766561959.png

result

vxiaotang_4-1658766587064.png

vxiaotang_5-1658766602594.png

 

Best Regards,

Community Support Team _Tang

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

Anonymous
Not applicable

I tried both method but didn't give the expected result

HotChilli
Super User
Super User

It's sorted by alphabetical order.  So quick solution : add another calculated column to give Month number which is MONTH(Sales[Date]) and use 'Sort by column' feature on the ShortMonth column.

--

The best solution is to create a calendar table and link it with 1:m relationship to Sales table.  Create the appropriate columns in Calendar table (Month, Yr, ShortMonth, monthNum etc) and use 'Sort by column' if required.

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