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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
dd88
Post Patron
Post Patron

Matrix table set order for Column data in Text format

Matrix table created to display a project release plan.


The data is text format and are project tasks.

 

The data source is an Excel spreadsheet and the tasks are in order as entered in the rows. The tasks are sequential by task order, month and release stage.

 

In PowerBI desktop app, the Release Stage I have 'Sort by column' on the SortOrder column. This works ie

1 = Phase 1 - POC
2 = Phase 2
3 = Phase 3
4 = Business as usual

 

Under the month I noticed the release tasks display in alphabetical order. This throws out the project tasks order.

For example in column Release Stage, Phase 1 - POC, under month Mar 2024 the tasks display as 
POC completed and signed off
POC demononstration

Safe ..

Safe ...
However these are the last tasks in Phase 1 - POC

 

Table Matrix order.png

 

 

is there a way to set the order for each task within the month?

 

TIA.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @dd88 ,

Based on my testing again, the task column can be sorted successfully. Try to copy the table and enter the new table.

1.Copy the Table. Enter the table data.

vjiewumsft_0-1711676559936.png

vjiewumsft_1-1711676573229.png

2.Drag the field into the matrix visual.

vjiewumsft_2-1711676580745.png

3.Select sort by Task steps column.

vjiewumsft_3-1711676587495.png

4.The result is shown below.

vjiewumsft_4-1711676594374.png

5.You can open the pbix file to see the detailed steps.

 

Best Regards,

Wisdom Wu

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

5 REPLIES 5
Anonymous
Not applicable

Hi @dd88 ,

Based on my testing, please try the following methods:

1.Add the new column Task steps in the table.

vjiewumsft_0-1711431377626.png

2.Drag the month and tasks field into the Rows. Drag the Release stage into the Values.

vjiewumsft_1-1711431393149.png

3.Click on button to Expand.

vjiewumsft_2-1711431404109.png

4.Select the task steps column, and choose sort by column. The result is shown below.

vjiewumsft_3-1711431418135.png

vjiewumsft_4-1711431426160.png

Best Regards,

Wisdom Wu

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

 

Thank you @Anonymous 

 

I add a new column for FeatureOrder, number format starting at 1 with next sequential number ie 1, 2, 3, etc

 

The result is the error message ' We can't sort by 'Feature' column by 'FeatureOrder'

The new column FeatureOrder only has 1 data value which is a number. Therefore I am not sure what the error message is referring to.

 

Matrix table error.png

 

Anonymous
Not applicable

Hi @dd88 ,

The Release tasks column can't have the same values. The Feature column can't have the same value. Otherwise, the sort by column feature doesn't work.

vjiewumsft_0-1711434666286.png

 

Best Regards,

Wisdom Wu

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

@Anonymous 

The Feature column contains text. The FeatureOrder column contains numbers. The Feature column and FeatureOrder column do not contain the same values.

 

MatrixColumns.png

Anonymous
Not applicable

Hi @dd88 ,

Based on my testing again, the task column can be sorted successfully. Try to copy the table and enter the new table.

1.Copy the Table. Enter the table data.

vjiewumsft_0-1711676559936.png

vjiewumsft_1-1711676573229.png

2.Drag the field into the matrix visual.

vjiewumsft_2-1711676580745.png

3.Select sort by Task steps column.

vjiewumsft_3-1711676587495.png

4.The result is shown below.

vjiewumsft_4-1711676594374.png

5.You can open the pbix file to see the detailed steps.

 

Best Regards,

Wisdom Wu

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

Helpful resources

Announcements
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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