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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
Community Champion
Community Champion

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
Community Champion
Community Champion

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! 

TheoC
Community Champion
Community Champion

@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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors