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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! 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
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.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

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.