Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I'm using a Matrix visual to display events by Day of Week (rows) and time blocks (columns, e.g., 12a–5a, 6a–11a, etc.). I've created custom columns with corresponding sort columns (DayOfWeekNum, TimeBlockSort) and used "Sort by Column" to enforce order.
However, the Matrix ignores the sort order and displays both days and time buckets alphabetically instead of by the sort logic. All fields are in the same table and the model settings are correct.
How can I get the Matrix to respect the sort order on both rows and columns?
Solved! Go to Solution.
Hi,
It would be important to see the table structure, but the sort column should be done only on your header column within the table. Create a column with the sort colum values like "SortColumn" below using a conditional column or table that can reference the sort values. Then go to "Column tools" and select the column1 header and then click on "Sort by column" and select "SortColumn"
I tried to recreate what you were getting, so I believe was able, so you do need to use the column from your "Audittimeblocktable" for the timeblocklabel rather then the one from the main table where your data resides in order it to work.
or you can create a new column in the main table to bring the "timeblocksort=
missed 4th step sort by sortcolumn
Hi,
It would be important to see the table structure, but the sort column should be done only on your header column within the table. Create a column with the sort colum values like "SortColumn" below using a conditional column or table that can reference the sort values. Then go to "Column tools" and select the column1 header and then click on "Sort by column" and select "SortColumn"
Here's what I have for the time blocks and I'm already sorting by the timeblocksort column.
make sure both tables are link on TimeBlockelabel and that you are using the Timeblocklable from your sort table, one showing above.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!