<?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 Check if a datapoint is already selected inside Custom Visual in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Check-if-a-datapoint-is-already-selected-inside-Custom-Visual/m-p/457277#M14080</link>
    <description>&lt;P&gt;Within update() function of IVisual, is there a way to check if a datapoint(and its corresponding SelectionID) is already selected?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could use getSelectionIds() and then brute force search the entire array one by one to find a match, but I feel that it would be very slow, expecially with large amounts of data.&lt;/P&gt;</description>
    <pubDate>Sun, 08 Jul 2018 20:03:35 GMT</pubDate>
    <dc:creator>JohnTheDoe</dc:creator>
    <dc:date>2018-07-08T20:03:35Z</dc:date>
    <item>
      <title>Check if a datapoint is already selected inside Custom Visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Check-if-a-datapoint-is-already-selected-inside-Custom-Visual/m-p/457277#M14080</link>
      <description>&lt;P&gt;Within update() function of IVisual, is there a way to check if a datapoint(and its corresponding SelectionID) is already selected?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could use getSelectionIds() and then brute force search the entire array one by one to find a match, but I feel that it would be very slow, expecially with large amounts of data.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jul 2018 20:03:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Check-if-a-datapoint-is-already-selected-inside-Custom-Visual/m-p/457277#M14080</guid>
      <dc:creator>JohnTheDoe</dc:creator>
      <dc:date>2018-07-08T20:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Check if a datapoint is already selected inside Custom Visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Check-if-a-datapoint-is-already-selected-inside-Custom-Visual/m-p/457488#M14088</link>
      <description>&lt;P&gt;To check if a data point is selected you should use&amp;nbsp;&lt;SPAN&gt;getSelectionIds and compare SelectionIds by using &lt;A href="https://github.com/Microsoft/PowerBI-visuals-tools/blob/c7b83bd4a754ced1eb520cb04b23ec251764dfa2/templates/visuals/.api/v1.13.0/PowerBI-visuals.d.ts#L283" target="_blank"&gt;equals&lt;/A&gt; or &lt;A href="https://github.com/Microsoft/PowerBI-visuals-tools/blob/c7b83bd4a754ced1eb520cb04b23ec251764dfa2/templates/visuals/.api/v1.13.0/PowerBI-visuals.d.ts#L284" target="_blank"&gt;includes&lt;/A&gt; methods.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&lt;SPAN style="background: white;"&gt;Ignat Vilesov,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&lt;SPAN style="background: white;"&gt;Software Engineer&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&lt;SPAN style="background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&lt;SPAN style="background: white;"&gt;Microsoft Power BI Custom Visuals&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;&lt;SPAN style="background: white;"&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 06:52:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Check-if-a-datapoint-is-already-selected-inside-Custom-Visual/m-p/457488#M14088</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-07-09T06:52:31Z</dc:date>
    </item>
  </channel>
</rss>

