<?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: SelectionIdBuilder withmatrixnode hiearchy in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/SelectionIdBuilder-withmatrixnode-hiearchy/m-p/1288449#M25185</link>
    <description>&lt;P&gt;The key here is to stack calls to the builder and not call createSelectionId until done.&amp;nbsp; So, for example, you can call .withMatrixNode for a row node, another row node, then a column node, then call create and you will end up with a Selection ID for the "intersection" of the two rows and the column.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Aug 2020 18:33:06 GMT</pubDate>
    <dc:creator>jprmsn</dc:creator>
    <dc:date>2020-08-11T18:33:06Z</dc:date>
    <item>
      <title>SelectionIdBuilder withmatrixnode hiearchy</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/SelectionIdBuilder-withmatrixnode-hiearchy/m-p/1278282#M25114</link>
      <description>&lt;P&gt;I'm struggling with setting the correct selection Ids to use with row selection, drill-though, and report page tooltips with my custom matrix visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right now, I am creating IDs using .withMatrixNode and then passing an array of them to these functions.&amp;nbsp; Here's an example for a matrix row with two categories set:&lt;/P&gt;&lt;P&gt;0: e&lt;/P&gt;&lt;P&gt;dataMap: dim HealthSystem.Health System: [{…}]&lt;/P&gt;&lt;P&gt;key: "{"dim HealthSystem.Health System":[{"identityIndex":24}]}[]"&lt;/P&gt;&lt;P&gt;measures: []&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1: e&lt;/P&gt;&lt;P&gt;dataMap: dim Facility.Facility: [{...}]&lt;/P&gt;&lt;P&gt;key: "{"dim Facility.Facility":[{"identityIndex":25}]}[]"&lt;/P&gt;&lt;P&gt;measures: []&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I call (for example selectionmanager.select) more than one selection ID (e.g. two categories), I get a message on my crossfiltered visuals that says: “We can’t display this visual because a measure is used in cross highlighting.&amp;nbsp; Please remove the measure or cross highlight”. None of my selection IDs include measures.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to be able to select multiple categories to&amp;nbsp; correctly filter my other visuals and also to be able to set the context for report page tooltips.&amp;nbsp; The stock matrix is able to do this, but I don't know what the selectionIds look like.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I couldn't find any matrix samples that handle a hierarchy.&amp;nbsp; Can anyone give me a steer?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 18:11:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/SelectionIdBuilder-withmatrixnode-hiearchy/m-p/1278282#M25114</guid>
      <dc:creator>jprmsn</dc:creator>
      <dc:date>2020-08-06T18:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: SelectionIdBuilder withmatrixnode hiearchy</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/SelectionIdBuilder-withmatrixnode-hiearchy/m-p/1278362#M25115</link>
      <description>&lt;P&gt;I see from debugging a stock matrix that their should be a single selection ID that looks like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"{"comp":{"k":0,"l":{"col":{"s":{"e":"Table1"},"r":"Field"}},"r":{"const":{"t":1,"v":"Table2"}}}}"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;That look familiar to anyone?&amp;nbsp; Trying to figure out how to construct it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;John&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 19:20:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/SelectionIdBuilder-withmatrixnode-hiearchy/m-p/1278362#M25115</guid>
      <dc:creator>jprmsn</dc:creator>
      <dc:date>2020-08-06T19:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: SelectionIdBuilder withmatrixnode hiearchy</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/SelectionIdBuilder-withmatrixnode-hiearchy/m-p/1288449#M25185</link>
      <description>&lt;P&gt;The key here is to stack calls to the builder and not call createSelectionId until done.&amp;nbsp; So, for example, you can call .withMatrixNode for a row node, another row node, then a column node, then call create and you will end up with a Selection ID for the "intersection" of the two rows and the column.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 18:33:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/SelectionIdBuilder-withmatrixnode-hiearchy/m-p/1288449#M25185</guid>
      <dc:creator>jprmsn</dc:creator>
      <dc:date>2020-08-11T18:33:06Z</dc:date>
    </item>
  </channel>
</rss>

