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
PassionBIdevlpr
New Member

I could not sort bar chart by fiscal calendar by date

Hello community,

 

I could not sort total sales by fiscal calendar date.Pls help how to sort.Thanks in advance.

PassionBIdevlpr_0-1686617420454.png

 

2 REPLIES 2
PassionBIdevlpr
New Member

Hello Vahid, thanks for giving solution. I did format to whole no.Data almost sorted,but  jan to sep data has been come correctly. but oct,nov and december  sorted very last as we take format has whole number. Is there any solution to resolve the issue. fyi,data sorted as following pic.

 

PassionBIdevlpr_2-1686701795627.png

 

VahidDM
Super User
Super User

Hi @PassionBIdevlpr 

Add a new column with this code and make sure to set the format to whole number:

 

Sort Month-Year = 
YEAR('Table'[Date])&MONTH('Table'[Date])

 

 

And then sort your Month-Year column with the new column:
https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-sort-by-column?tabs=powerbi-deskto...

 

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

Appreciate your Kudos!! 

Badges.jpg

LinkedIn | Twitter | Blog | YouTube 

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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