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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.