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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
john_m_dixon
Frequent Visitor

Custom visual matrix dataview sorting behavior

I have a custom visual that uses a matrix dataview. I have sorting set to ascending on a numeric column, but I am seeing odd behavior in the "sorted" dataset. The data is hierarchical, but the column being sorted on does not roll up to all levels of the hierarchy, as it is only applicable to the lowest level. 

In this case, I am sorting on the right-most column, StageOldAge.

odd_sorting.png

I would expect Jurassic to be above Triassic in this case becuse Tithonian (152.10) is less than Ladinian (242.0).

Not sure if this is because the StageOldAge column does not roll up in the hierarchy, and these values are blank. Sorting is respected at the lowest level of the hierarchy, but the order at the higher levels seems undefined.

Is this expected behavior? In this case I'm disabling user sorting and defining custom sorting in the visual.

0 REPLIES 0

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.