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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Need help with Matrix sorting on rows

Hi, Please see that I brought the "Sort" field in to Values in to order to sort but the issues is that anytime a new day's worth of data flows in, the column I brought for Sort shows up. Having issues Sorting within a Matrix. I have a field named "Sort". What it does is sorts By date the Category/SubCategory/Element so that they are continuously in the same order each time I get new records flowing in daily. I want it completely hidden. So maybe I'm going about this completely wrong. Is there a better way?

PAF_0-1648254199538.png

 

 

PAF_1-1648254199169.png

 

 

So as new dates flow into my matrix, I am forced to hide the sort column each time. I dont want to have to do this.

PAF_2-1648254199266.png


Thanks
Patrick
Developer

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

According to your screenshot, I know that you build matrix by format as below.

Category/SubCategory/Element  in Rows.

Date in Columns.

Value and Sort in Values.

 

I have created a sample to have a test and I can reproduce your problem. I think you are now trying to turn off word wrap function in Format and then reduce the width of the Sort column in matrix visual to 0 to hide Sort column in Value. However, you will load new data in current day to your report. Due to you add [Date] in matrix Column, Sort will appear in new date expanding columns. 

 

Here I suggest you to add Sort in to Rows. New matrix row field looks like Category/SubCategory/Element/Sort. Then turn off "Stepped layout" in Row headers and turn off the subtotal in Sort level. Then you can reduce the width of Sort to 0 and it won't appear again after you load new data.

1.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous ,

 

According to your screenshot, I know that you build matrix by format as below.

Category/SubCategory/Element  in Rows.

Date in Columns.

Value and Sort in Values.

 

I have created a sample to have a test and I can reproduce your problem. I think you are now trying to turn off word wrap function in Format and then reduce the width of the Sort column in matrix visual to 0 to hide Sort column in Value. However, you will load new data in current day to your report. Due to you add [Date] in matrix Column, Sort will appear in new date expanding columns. 

 

Here I suggest you to add Sort in to Rows. New matrix row field looks like Category/SubCategory/Element/Sort. Then turn off "Stepped layout" in Row headers and turn off the subtotal in Sort level. Then you can reduce the width of Sort to 0 and it won't appear again after you load new data.

1.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

put the sort field into the tooltips area instead.

Anonymous
Not applicable

But not seeing a tooltip area under values for a Matrix

PAF_0-1648481803306.png

 

You are right, unfortuntely.  You may need to find a way to sort one column by another column.

 

Please provide sanitized sample data that fully covers your issue.

Please show the expected outcome based on the sample data you provided.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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