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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

Cant sort by year and month

 
 
 
 

sorterror.PNG

 

SortError2.PNG

 

How can i sort my graph by Year/Month? sort by column issues if i dont sort by month.

 

sort should be jan 2020,feb 2020,dec 2029,nov 2019

2 ACCEPTED SOLUTIONS
VasTg
Memorable Member
Memorable Member

@Anonymous 

 

Single month has multiple dates and it doesn't know which one to take.

 

Create a monthkey (202001,202002,202003 etc) and use that in SORTBY.

 

If it helps, mark it as a solution

Kudos are nice too

Connect on LinkedIn

View solution in original post

Anonymous
Not applicable

 

As you said ceated one more column and madde it wole number used that in sort by column, its resolved

Fix1.PNG

View solution in original post

2 REPLIES 2
VasTg
Memorable Member
Memorable Member

@Anonymous 

 

Single month has multiple dates and it doesn't know which one to take.

 

Create a monthkey (202001,202002,202003 etc) and use that in SORTBY.

 

If it helps, mark it as a solution

Kudos are nice too

Connect on LinkedIn
Anonymous
Not applicable

 

As you said ceated one more column and madde it wole number used that in sort by column, its resolved

Fix1.PNG

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.