<?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 Interactivity Service and Selection Manager in Custom Visuals in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Interactivity-Service-and-Selection-Manager-in-Custom-Visuals/m-p/759553#M20292</link>
    <description>&lt;P&gt;What is the role/function of the Interactivity Service and the Selection Manager?&amp;nbsp; Do they provide different roles or is there overlap.&amp;nbsp; &amp;nbsp;Is there an example that uses both together?&amp;nbsp; Or does one supercede the other?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've implemented the Interactivity Service following the sunburst example&amp;nbsp;in my custom visual.&amp;nbsp; But now I need to get drill down working and I'm not sure if I need to implement the Selection Manager to handle that.&amp;nbsp; Is there a good example for demonstrating drill down in code?&amp;nbsp; I'm working with a matrix data view model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any and all responses.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Aug 2019 20:18:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-08-06T20:18:04Z</dc:date>
    <item>
      <title>Interactivity Service and Selection Manager in Custom Visuals</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Interactivity-Service-and-Selection-Manager-in-Custom-Visuals/m-p/759553#M20292</link>
      <description>&lt;P&gt;What is the role/function of the Interactivity Service and the Selection Manager?&amp;nbsp; Do they provide different roles or is there overlap.&amp;nbsp; &amp;nbsp;Is there an example that uses both together?&amp;nbsp; Or does one supercede the other?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've implemented the Interactivity Service following the sunburst example&amp;nbsp;in my custom visual.&amp;nbsp; But now I need to get drill down working and I'm not sure if I need to implement the Selection Manager to handle that.&amp;nbsp; Is there a good example for demonstrating drill down in code?&amp;nbsp; I'm working with a matrix data view model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any and all responses.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 20:18:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Interactivity-Service-and-Selection-Manager-in-Custom-Visuals/m-p/759553#M20292</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-06T20:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Interactivity Service and Selection Manager in Custom Visuals</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Interactivity-Service-and-Selection-Manager-in-Custom-Visuals/m-p/762276#M20305</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;My understanding of these is that:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The Selection Manager is used to generate Selection IDs.&lt;/LI&gt;&lt;LI&gt;The Interactivity Service requires Selection IDs to correctly identify how to interact with data within/between visuals when highlighting and cross-filtering.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Selection IDs are also used by the report page (canvas) tooltips to correctly identify when to display those vs. a standard tooltip. &lt;A href="https://community.powerbi.com/t5/Developer/Custom-Visual-Tooltip-to-show-the-Tooltip-page/m-p/756755" target="_self"&gt;There was a thread the other day&lt;/A&gt; that has an example to illustrate.&lt;/P&gt;&lt;P&gt;I haven't come across any specific examples online, except for these videos on Jorge's YouTube channel, which help illustate the in the context of the sample bar chart, which uses a &lt;FONT face="courier new,courier"&gt;categorical&lt;/FONT&gt; data mapping. These videos are a couple of years old but the premise still holds-up today.:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://www.youtube.com/watch?v=ac4VoH3U5LQ&amp;amp;list=PL6z9i4iVbl8C2mtjFlH3ECb3q00eFDLAG&amp;amp;index=12" target="_self"&gt;Adding Interaction&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://www.youtube.com/watch?v=sVGc6sLOoYM&amp;amp;list=PL6z9i4iVbl8C2mtjFlH3ECb3q00eFDLAG&amp;amp;index=13" target="_self"&gt;Adding Highlighting&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Selection ID support for &lt;FONT face="courier new,courier"&gt;matrix&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;table&lt;/FONT&gt; dataViewMappings is &lt;A href="https://microsoft.github.io/PowerBI-visuals/docs/changelog/#api-v25" target="_self"&gt;pretty new&lt;/A&gt;, and they aren't too well covered at present in terms of examples.&lt;/P&gt;&lt;P&gt;The &lt;A href="https://microsoft.github.io/PowerBI-visuals/tutorials/building-bar-chart/adding-context-menu-to-the-bar/" target="_self"&gt;Context Menu API&lt;/A&gt; is also a relatively new addition and the linked page/sample bar chart is the only example I've seen to date. I haven't personally had a chance to play with it but this is how you'd conceptually manage Drillthrough - I see the example does refer to a Selection ID.&lt;/P&gt;&lt;P&gt;If you're after drilldown vs. drillthrough, then there's a &lt;A href="https://microsoft.github.io/PowerBI-visuals/docs/how-to-guide/adding-drill-down-support/" target="_self"&gt;short intro here&lt;/A&gt;, but this only refers to enabling it in your visual. I've only done as much as this when setting up a visual and haven't looked into drill-down by clicking on a node for example.&lt;/P&gt;&lt;P&gt;I'm not sure if this resolves your question but I hope that it gives you some ideas, at least &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 23:02:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Interactivity-Service-and-Selection-Manager-in-Custom-Visuals/m-p/762276#M20305</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2019-08-08T23:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Interactivity Service and Selection Manager in Custom Visuals</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Interactivity-Service-and-Selection-Manager-in-Custom-Visuals/m-p/765356#M20341</link>
      <description>&lt;P&gt;Daniel, thanks for your reply.&amp;nbsp; A couple of the links provided some insight, but I'm not completely sure of my interpretation.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm creating a custom grid visual using the matrix data model.&amp;nbsp; Another post suggested the Sunburst Visual as example for implementing the selection feature for a matrix model.&amp;nbsp; This used the &lt;STRONG&gt;InteractivitySelectionService&lt;/STRONG&gt; and I've got that all working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I now want to incoorporate drill down (not drillthrough) into my grid.&amp;nbsp; I had added the properties to the capabilities file for drill through as described in that one link.&amp;nbsp; &lt;SPAN&gt;The &lt;STRONG&gt;expand hierarchy&lt;/STRONG&gt; and &lt;STRONG&gt;drill level&lt;/STRONG&gt; modes are working, and&amp;nbsp;&lt;/SPAN&gt;I had originally thought that&amp;nbsp;&lt;SPAN&gt;when &lt;STRONG&gt;drill down&lt;/STRONG&gt; mode was entered (clicked) and I make a selection to expand a particular data point, the selection feature would be overridden and power bi would get the descendants for the selected data point and return them on the call to Visual.update.&amp;nbsp; But that isn't happening, the selection feature's onclick is still called.&amp;nbsp; &amp;nbsp;Is my idea of how drill down works correct?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The link to highlighting you provided describes that there are two mechanisms for implementing the selection feature, a lightweight (the SelectionManager) and then another more structured (would this be the&amp;nbsp;&lt;SPAN&gt;InteractivitySelectionService?).&amp;nbsp; And that at this point, the link goes on to say, the selection Id objects are incompatible.&amp;nbsp; Any drill down example I've come across is using the SelectionManager and it also seems to be the only thing that will bring up a context menu.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I know drill down is possible in a matrix grid model.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do I have to implement the SelectionManager separately for drill down and coordinate it with the InteractivitySelectionService to get drill down to work?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a way for the visual to know that we are in drill down mode versus basic selection mode? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there an example somewhere for implementing drill down in a grid matrix?&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks again for any responses.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 13:49:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Interactivity-Service-and-Selection-Manager-in-Custom-Visuals/m-p/765356#M20341</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-13T13:49:24Z</dc:date>
    </item>
  </channel>
</rss>

