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

Assign month numbers sequential for next year data!

Hi All,

 

Please i unable to sort the month and year data based on the month number through sorting.

Iam using the 2019 and 2020 data while assinging the month numbers for both the year January it is coming month number as 1.

Do we have any method to follow that if i assign should get 2020 january month as 13, February 2020 as 14 so on !!

 

Thanks for your help

 

 

4 REPLIES 4
Greg_Deckler
Community Champion
Community Champion

You want Sequential, https://community.powerbi.com/t5/Quick-Measures-Gallery/Sequential/m-p/380231?search-action-id=10196...



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
tkirilov
Resolver I
Resolver I

Hi @Anonymous ,

Am I assuming correctly that you are trying to display more than 12 months on the same axis? If that's the case, I normally create a new text column with dates in YYYY/MM format and sorting those in alphabetical order. Hope that helps. 

Best,

Tom

Anonymous
Not applicable

no i presenting 14 months data and it is not working that approach. January 2019  as coming as 1 and also January 2020 also coming as 1, which is resulting the presentation of data not coming in sequential order

 

 

hi  @Anonymous 

Just drag [Year] and [Month] in the visual together, as below, then sort by Year Month asc

4.JPG

 

and you could also use Sort By column in the power bi desktop.

https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column

https://radacad.com/sort-by-column-in-power-bi

 

Regards,

Lin

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

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