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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
MattN4
Helper I
Helper I

Matrix and weeks

Hi,

 

I am trying to do a very simple task, but in power BI it seems impossible.

 

I have a table with 2 columns, week no. and week name, so 1, Week 1. I apply this and my matrix works, and shows week 1 then week 2 etc. but I want to show week 52 first. Easy right, just change week name to be Week 53? Nope, no chance, now it displays week 1, week 10, week 11 etc.

 

How can I get it so PowerBI will show the data correctly?

 

Thanks,

1 ACCEPTED SOLUTION

Make sure you select the column first - go to the report view, and in fields open the table and click on the column name so it is highlighted



Did I answer your question? Mark my post as a solution! Proud to be a Super User!


Connect with me!
Stay up to date on  
Read my blogs on  



View solution in original post

4 REPLIES 4
SteveCampbell
Memorable Member
Memorable Member

Am I correct in understanding you have a column with just the number, and the other wth the name?

The name is being stored as text, so 10 would become before 2.

 

To sort by the name, you could:

 

  • click on this column in desktop
  • go to modelling tab and use the "Sort by Colum" dropdown
  • Select week number
  • In the matrix, click the elipse (three dots in the top right), then click the AZ button to reverse the sort order


Did I answer your question? Mark my post as a solution! Proud to be a Super User!


Connect with me!
Stay up to date on  
Read my blogs on  



Hi,

 

The sort by button is greyed out.

 

M

 

 

Make sure you select the column first - go to the report view, and in fields open the table and click on the column name so it is highlighted



Did I answer your question? Mark my post as a solution! Proud to be a Super User!


Connect with me!
Stay up to date on  
Read my blogs on  



Thanks - it did work but I needed 2 tables, no idea why but it's working so i'll take it!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.