Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello, I've been having some trouble figuring out how to do expand and collapse on row headers of my custom matrix visual.
I've followed the guide on your docs here but buttons don't all work.
I'm rendering a button for nodes where node?.isCollapsed != undefined, meaning it should be expandable/collapsable. However, I cannot get this to work for deeper levels than the first. Comparing the default matrix visualization, the buttons are rendered correctly. Therefore I suspect it has something to do with the creation of SelectionId of the inner rows. This is where I just can't figure anything out because the documentation on SelectionId for matrices is lacking.
In image, button for "Resultat" works, "Driftsresultat" within does not.
Can I get some help identifying the issue? Debugging selectionId is not fun, wish its api was open.
Hi @stian_r
- Verify that your data hierarchy is correctly defined and that each level of the hierarchy is properly configured. The expand/collapse functionality relies on a well-defined hierarchy.
- Ensure that the SelectionId for each node is being created correctly. The SelectionId should uniquely identify each row in your matrix, including the deeper levels.
If you need more info please go through this accepted solution by CST - Solved: expand collapse for column matrix - Microsoft Fabric Community
Thanks!
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.