<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Custom Matrix Visual - Expand/collapse row headers problems in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Matrix-Visual-Expand-collapse-row-headers-problems/m-p/4611804#M12314</link>
    <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/572326"&gt;@suparnababu8&lt;/a&gt;&amp;nbsp;do you have any&amp;nbsp;suggestions or know of someone I can ask for suggestions, or should I start a new thread?&lt;/P&gt;</description>
    <pubDate>Sun, 16 Mar 2025 10:11:45 GMT</pubDate>
    <dc:creator>stian_r</dc:creator>
    <dc:date>2025-03-16T10:11:45Z</dc:date>
    <item>
      <title>Custom Matrix Visual - Expand/collapse row headers problems</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Matrix-Visual-Expand-collapse-row-headers-problems/m-p/4395079#M12153</link>
      <description>&lt;P&gt;Hello, I've been having some trouble figuring out how to do expand and collapse on row headers of my custom matrix visual.&lt;BR /&gt;I've followed the guide on your docs&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/visuals/dataview-mappings#expand-and-collapse-row-headers" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&amp;nbsp;but buttons don't all work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stian_r_0-1738703563829.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1234449i521C1A84E44B63B3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stian_r_0-1738703563829.png" alt="stian_r_0-1738703563829.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In image, button for "Resultat" works, "Driftsresultat" within does not.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I get some help identifying the issue? Debugging selectionId is not fun, wish its api was open.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 21:46:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Matrix-Visual-Expand-collapse-row-headers-problems/m-p/4395079#M12153</guid>
      <dc:creator>stian_r</dc:creator>
      <dc:date>2025-02-04T21:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Matrix Visual - Expand/collapse row headers problems</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Matrix-Visual-Expand-collapse-row-headers-problems/m-p/4395233#M12157</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/726829"&gt;@stian_r&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-&amp;nbsp; 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.&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need more info please go through this accepted solution by CST -&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/expand-collapse-for-column-matrix/td-p/1079870" target="_blank"&gt;Solved: expand collapse for column matrix - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution!&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Proud to be a Super User!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 00:49:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Matrix-Visual-Expand-collapse-row-headers-problems/m-p/4395233#M12157</guid>
      <dc:creator>suparnababu8</dc:creator>
      <dc:date>2025-02-05T00:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Matrix Visual - Expand/collapse row headers problems</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Matrix-Visual-Expand-collapse-row-headers-problems/m-p/4405864#M12175</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thanks for timely response,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Having&amp;nbsp;re-read the docs and gone over and made sure I had everything configured correctly, I've gotten no closer.&lt;/P&gt;&lt;P&gt;Here are the selectionIds of rows&amp;nbsp;&lt;SPAN&gt;"Resultat" and "Driftsresultat" respectively from initial post.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
    "deepestNodeLevelInPath": 0,
    "measures": [],
    "dataMap": {
        "Plan.Lv1": [
            {
                "identityIndex": 14
            }
        ]
    },
    "nodeIsCollapsed": false,
    "nodeIndexes": [
        1
    ],
    "key": "{\"Plan.Lv1\":[{\"identityIndex\":14}]}[]"
},
{
    "deepestNodeLevelInPath": 1,
    "measures": [],
    "dataMap": {
        "Plan.Lv2": [
            {
                "identityIndex": 9
            }
        ]
    },
    "nodeIsCollapsed": false,
    "nodeIndexes": [
        1
    ],
    "key": "{\"Plan.Lv2\":[{\"identityIndex\":9}]}[]"
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;Maybe there's something I missed.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 23:12:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Matrix-Visual-Expand-collapse-row-headers-problems/m-p/4405864#M12175</guid>
      <dc:creator>stian_r</dc:creator>
      <dc:date>2025-02-11T23:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Matrix Visual - Expand/collapse row headers problems</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Matrix-Visual-Expand-collapse-row-headers-problems/m-p/4412474#M12195</link>
      <description>&lt;P&gt;I've found I can drill down using the context menu but not my buttons. They both receive the same selectionId for the row so I don't understand why they don't behave the same...&lt;/P&gt;</description>
      <pubDate>Sun, 16 Feb 2025 12:44:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Matrix-Visual-Expand-collapse-row-headers-problems/m-p/4412474#M12195</guid>
      <dc:creator>stian_r</dc:creator>
      <dc:date>2025-02-16T12:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Matrix Visual - Expand/collapse row headers problems</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Matrix-Visual-Expand-collapse-row-headers-problems/m-p/4611804#M12314</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/572326"&gt;@suparnababu8&lt;/a&gt;&amp;nbsp;do you have any&amp;nbsp;suggestions or know of someone I can ask for suggestions, or should I start a new thread?&lt;/P&gt;</description>
      <pubDate>Sun, 16 Mar 2025 10:11:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Matrix-Visual-Expand-collapse-row-headers-problems/m-p/4611804#M12314</guid>
      <dc:creator>stian_r</dc:creator>
      <dc:date>2025-03-16T10:11:45Z</dc:date>
    </item>
  </channel>
</rss>

