<?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: Unable to create unique selectionID's in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Unable-to-create-unique-selectionID-s/m-p/115804#M3994</link>
    <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/17461"&gt;@ngann93&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may take a look at &lt;A href="https://github.com/Microsoft/PowerBI-visuals-core/blob/master/src/Clients/Visuals/cartesian/scatterChart.ts" target="_blank"&gt;https://github.com/Microsoft/PowerBI-visuals-core/blob/master/src/Clients/Visuals/cartesian/scatterChart.ts&lt;/A&gt; first, though it is deprecated. For tips about debugging your custom visual, see the &lt;A title="" href="https://github.com/Microsoft/PowerBI-visuals/blob/master/tools/debugging.md" target="_self" rel="nofollow noopener noreferrer"&gt;debugging guide&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jan 2017 10:36:54 GMT</pubDate>
    <dc:creator>v-chuncz-msft</dc:creator>
    <dc:date>2017-01-19T10:36:54Z</dc:date>
    <item>
      <title>Unable to create unique selectionID's</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unable-to-create-unique-selectionID-s/m-p/114914#M3976</link>
      <description>&lt;P&gt;Hi I am trying to create a scatter chart visualisation&amp;nbsp;with circles as datapoints. For this, I wanted to create unique selectionId for each elements. But I am unable to do so. Below is my capabilities.json&amp;nbsp;:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"dataRoles": [&lt;BR /&gt;{&lt;BR /&gt;"displayName": "Category Data",&lt;BR /&gt;"name": "category",&lt;BR /&gt;"kind": "Grouping"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"displayName": "Legend",&lt;BR /&gt;"name": "group on",&lt;BR /&gt;"kind": "Grouping"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"displayName": "Measure Data",&lt;BR /&gt;"name": "dataValue",&lt;BR /&gt;"kind": "Measure"&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"dataViewMappings": [&lt;BR /&gt;{&lt;BR /&gt;"conditions": [&lt;BR /&gt;{&lt;BR /&gt;"category": {&lt;BR /&gt;"max": 1&lt;BR /&gt;},&lt;BR /&gt;"measure": {&lt;BR /&gt;"max": 1&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"categorical": {&lt;BR /&gt;"categories": {&lt;BR /&gt;"for": {&lt;BR /&gt;"in": "category"&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"values": {&lt;BR /&gt;"group": {&lt;BR /&gt;"by":"group on",&lt;BR /&gt;"select": [&lt;BR /&gt;{&lt;BR /&gt;"for":{&lt;BR /&gt;"in": "dataValue"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;and selection creation id's code is :&lt;/P&gt;&lt;P&gt;let selectionId = host.createSelectionIdBuilder()&lt;BR /&gt;.withSeries(categorical.values,valueGroupsValue)&lt;BR /&gt;.createSelectionId();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It creates same ID for all the data elements. So when i click any element on my chart all the elements properties change.&lt;/P&gt;&lt;P&gt;Please help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the horrible format of capabilities code. Can't edit it.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 04:27:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unable-to-create-unique-selectionID-s/m-p/114914#M3976</guid>
      <dc:creator>ngann93</dc:creator>
      <dc:date>2017-01-18T04:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create unique selectionID's</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unable-to-create-unique-selectionID-s/m-p/115804#M3994</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/17461"&gt;@ngann93&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may take a look at &lt;A href="https://github.com/Microsoft/PowerBI-visuals-core/blob/master/src/Clients/Visuals/cartesian/scatterChart.ts" target="_blank"&gt;https://github.com/Microsoft/PowerBI-visuals-core/blob/master/src/Clients/Visuals/cartesian/scatterChart.ts&lt;/A&gt; first, though it is deprecated. For tips about debugging your custom visual, see the &lt;A title="" href="https://github.com/Microsoft/PowerBI-visuals/blob/master/tools/debugging.md" target="_self" rel="nofollow noopener noreferrer"&gt;debugging guide&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 10:36:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unable-to-create-unique-selectionID-s/m-p/115804#M3994</guid>
      <dc:creator>v-chuncz-msft</dc:creator>
      <dc:date>2017-01-19T10:36:54Z</dc:date>
    </item>
  </channel>
</rss>

