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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Poolboy_Q
New Member

Heat Map (Using Matrix Table) : Sorting Dates by Row & Columns

Hello Guru's,

 

Hope this hasn't already been answered, i'm trying to sort my table by the months of the year on columns and days of the the week on rows. See below screenshots. I've filter out Saturday and Sunday as they are not required, so when the week day is number it goes from 2 to 6, and months 1 to 12 as standard. When I try to use the name of the month I get a different result, noting that both tables are working of the same dataset (sorted exactly the same).

 

Is there a way to sort the bottom table columns by month, and rows by day of week? OR is there a way to use the top table and substitute the numbers for the month name/weekday name?

 

Poolboy_Q_0-1644187400827.png

and an example of the data.

 

Poolboy_Q_1-1644187510050.png

 

 

 

 

1 ACCEPTED SOLUTION
TheoC
Super User
Super User

Hi @Poolboy_Q 

 

You need to click on the Month Name column and then Sort By Column which is up in the ribbon.  Use the Month Number column that you have used in your first table as the basis of sorting the Month Name.  This will solve the issue 🙂

TheoC_0-1644192702299.png

 

Cheers,

Theo

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

View solution in original post

3 REPLIES 3
TheoC
Super User
Super User

Hi @Poolboy_Q 

 

You need to click on the Month Name column and then Sort By Column which is up in the ribbon.  Use the Month Number column that you have used in your first table as the basis of sorting the Month Name.  This will solve the issue 🙂

TheoC_0-1644192702299.png

 

Cheers,

Theo

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

Easy! thanks @TheoC 

 

My problem was not clicking on the desired column before sorting the numbered column! 

@Poolboy_Q makes sense. Glad you managed to sort it mate! Well done!

 

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors