<?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: Adding interactivity into custom visual using table dataviewmapping in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Adding-interactivity-into-custom-visual-using-table/m-p/2078501#M31781</link>
    <description>&lt;P&gt;I've never looked at this particular section of the selection ID doc in great detail, but the sample code is certainly not going to work completely as-is and this is very unfortunate, as selection handling is one of the more tricky bits to get right.&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;rowDiv&lt;/FONT&gt; is not scoped anywhere, so this line of code is not valid in context. I would expect &lt;FONT face="courier new,courier"&gt;rowDiv&lt;/FONT&gt; to be declared and assigned above that line, as presumably it will be different for each iteration of the &lt;FONT face="courier new,courier"&gt;forEach&lt;/FONT&gt; loop and appends the correct data.&lt;/P&gt;
&lt;P&gt;As it is an incomplete fragment of code, I couldn't presume to know how to make it work fully and the only useful part of that code snippet is that bit that shows the difference on how to create the selection ID using &lt;FONT face="courier new,courier"&gt;.withTable()&lt;/FONT&gt; vs. the other data view mappings. The selection ID is not assigned to any event listener or persisted elsewhere either, so this potentially causes further confusion.&lt;/P&gt;
&lt;P&gt;If you're looking for some assistance, it might be better if you can share your code, or the section that works with your data view and we can see if we can help adapt this for you.&lt;/P&gt;
&lt;P&gt;If you're not able to share, or it is impractical, the example for the &lt;FONT face="courier new,courier"&gt;categorical&lt;/FONT&gt; mapping in the doc page is a bit more complete and could be adapted, with considerations for the slightly different structure of the &lt;FONT face="courier new,courier"&gt;table&lt;/FONT&gt; data view mapping and how to use &lt;FONT face="courier new,courier"&gt;.withTable()&lt;/FONT&gt; rather than &lt;FONT face="courier new,courier"&gt;.withCategory()&lt;/FONT&gt; / &lt;FONT face="courier new,courier"&gt;.withSeries()&lt;/FONT&gt; / &lt;FONT face="courier new,courier"&gt;.withMeasure()&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Wed, 15 Sep 2021 19:55:18 GMT</pubDate>
    <dc:creator>dm-p</dc:creator>
    <dc:date>2021-09-15T19:55:18Z</dc:date>
    <item>
      <title>Adding interactivity into custom visual using table dataviewmapping</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-interactivity-into-custom-visual-using-table/m-p/2077731#M31767</link>
      <description>&lt;P&gt;I'm working on adding interactivity into my custom visual. And I'm trying the code from&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/visuals/selection-api#select-datapoints-to-slice-other-visuals" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/power-bi/developer/visuals/selection-api#select-datapoints-to-slice-other-visuals&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However, I don't understand what is "rowDiv". Can someone explain this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="feiyiding_0-1631709235702.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/594069iF1402544AFD678B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="feiyiding_0-1631709235702.png" alt="feiyiding_0-1631709235702.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 12:34:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-interactivity-into-custom-visual-using-table/m-p/2077731#M31767</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-15T12:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Adding interactivity into custom visual using table dataviewmapping</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-interactivity-into-custom-visual-using-table/m-p/2078501#M31781</link>
      <description>&lt;P&gt;I've never looked at this particular section of the selection ID doc in great detail, but the sample code is certainly not going to work completely as-is and this is very unfortunate, as selection handling is one of the more tricky bits to get right.&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;rowDiv&lt;/FONT&gt; is not scoped anywhere, so this line of code is not valid in context. I would expect &lt;FONT face="courier new,courier"&gt;rowDiv&lt;/FONT&gt; to be declared and assigned above that line, as presumably it will be different for each iteration of the &lt;FONT face="courier new,courier"&gt;forEach&lt;/FONT&gt; loop and appends the correct data.&lt;/P&gt;
&lt;P&gt;As it is an incomplete fragment of code, I couldn't presume to know how to make it work fully and the only useful part of that code snippet is that bit that shows the difference on how to create the selection ID using &lt;FONT face="courier new,courier"&gt;.withTable()&lt;/FONT&gt; vs. the other data view mappings. The selection ID is not assigned to any event listener or persisted elsewhere either, so this potentially causes further confusion.&lt;/P&gt;
&lt;P&gt;If you're looking for some assistance, it might be better if you can share your code, or the section that works with your data view and we can see if we can help adapt this for you.&lt;/P&gt;
&lt;P&gt;If you're not able to share, or it is impractical, the example for the &lt;FONT face="courier new,courier"&gt;categorical&lt;/FONT&gt; mapping in the doc page is a bit more complete and could be adapted, with considerations for the slightly different structure of the &lt;FONT face="courier new,courier"&gt;table&lt;/FONT&gt; data view mapping and how to use &lt;FONT face="courier new,courier"&gt;.withTable()&lt;/FONT&gt; rather than &lt;FONT face="courier new,courier"&gt;.withCategory()&lt;/FONT&gt; / &lt;FONT face="courier new,courier"&gt;.withSeries()&lt;/FONT&gt; / &lt;FONT face="courier new,courier"&gt;.withMeasure()&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 19:55:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-interactivity-into-custom-visual-using-table/m-p/2078501#M31781</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2021-09-15T19:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Adding interactivity into custom visual using table dataviewmapping</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-interactivity-into-custom-visual-using-table/m-p/2088984#M31927</link>
      <description>&lt;P&gt;Thank you for the reply. I have figured it out.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 14:42:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-interactivity-into-custom-visual-using-table/m-p/2088984#M31927</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-21T14:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Adding interactivity into custom visual using table dataviewmapping</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-interactivity-into-custom-visual-using-table/m-p/2629273#M37267</link>
      <description>&lt;P&gt;Hello, is it possible for you to share the source code because I am struggling with the same thing?&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jul 2022 17:03:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-interactivity-into-custom-visual-using-table/m-p/2629273#M37267</guid>
      <dc:creator>Ledia</dc:creator>
      <dc:date>2022-07-10T17:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Adding interactivity into custom visual using table dataviewmapping</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-interactivity-into-custom-visual-using-table/m-p/3990291#M53379</link>
      <description>&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Developer/adding-interaction-to-custom-visual/td-p/3990283" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Developer/adding-interaction-to-custom-visual/td-p/3990283&lt;/A&gt;&lt;BR /&gt;please help me with this post. i am facing same issue . please share any sample visual.ts file&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 06:19:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-interactivity-into-custom-visual-using-table/m-p/3990291#M53379</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-13T06:19:25Z</dc:date>
    </item>
  </channel>
</rss>

