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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Mikekhel1987
New Member

Column Sorting Error

 

Hi All,

 

 


I'm trying to sort the month into the proper sorting but it doesn't work as I search on the internet I found out that I must create an additional column and convert the month word into month number so I've created an additional column to convert the month word into month number. After converting it into numbers I tried to sort our sales  by month number but an error occured. The error says.

"This column can't be sorted by a column that is already sorted directly or indirectly by this column"

 

 

 

error 2.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Month Table

Error.png

 

 

 Please do note that the month table is related to the sales and forecast table.

 

Any help will be greatly appreciated. Thank You and God Bless.

1 ACCEPTED SOLUTION
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Mikekhel1987,

 

There could be a loop. You can do it like this according to your table.

1. Add an index in the Query Editor.

 Column Sorting Error.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2. Sort by another column.

Column Sorting Error1.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Best Regards!

Dale

Community Support Team _ Dale
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

2 REPLIES 2
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Mikekhel1987,

 

There could be a loop. You can do it like this according to your table.

1. Add an index in the Query Editor.

 Column Sorting Error.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2. Sort by another column.

Column Sorting Error1.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Best Regards!

Dale

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

Hi Dale,

 

Thank You for your help. It works just like magic. God Bless.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.