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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
damit23183
Employee
Employee

Sorting by Month in Matrix Table

Hi,

 

I am trying to sorting out Matrix table by month.

 

Table.PNG

As you can see I have in alphabet order; but I would like to see in Calendar order.

 

I am using three columsn in Matrix , Year, Quarter and Month.

 

Thanks

2 ACCEPTED SOLUTIONS

@damit23183 

Sorry, I may be misunderstanding what you have done, but...

The date table should be sorted by the date column
To sort the Month Name column, you need to select it and then use the "Sort column by..." and choose the month number as the sorting column. 
They are two seperate "sorting" operations





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

If you have a measure, you can create a new measure using SWITCH to create the order measure and use that as as the sorting criteria





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

8 REPLIES 8
PaulDBrown
Community Champion
Community Champion

@damit23183 

I take it you are using a Date Table, correct?If so, you need to sort the month name column by a month number column- if there isn't one, you need to create it- (select the date table in table view, select the month name column and use the "Sort column by" in the ribbon to select month number.





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Hi,

 

Thank you for quick response.

 

Yes I have already done everything whatever you have mentioend. But still sorting is not working for MATRIX Table.

 

I have Month Number column in Date Table so sorted Date Table based on Month Number.

 

Thanks

@damit23183 

Sorry, I may be misunderstanding what you have done, but...

The date table should be sorted by the date column
To sort the Month Name column, you need to select it and then use the "Sort column by..." and choose the month number as the sorting column. 
They are two seperate "sorting" operations





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Hi Paul, 

 

I have same requirement. But the column from where I am getting date is a Measure and this measure is of text type.

 

Used dax to extract year , month, quarter etc. 

 

The months are getting displayed in alphabetical order but I want it in calendar months. 

If you have a measure, you can create a new measure using SWITCH to create the order measure and use that as as the sorting criteria





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Hi,

 

Got it now Actually I misunderstood and focusing on one sorting only.

 

Now, I get it there can be two sorting possible for each column.

 

Thanks a lot for feedback.

 

Thanks

@damit23183 

Happy to help! Please mark the relevant post as the solution to close the thread and help others searching for a similar solution.

Thanks!





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






sreenub
Resolver II
Resolver II

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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