<?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: Power Bi embedded - interaction through dataSelected event in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-embedded-interaction-through-dataSelected-event/m-p/1346532#M25544</link>
    <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/97720"&gt;@pyskaty&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;For the 'data selected' event, it seems only got the current operation fields. So if you not add the field to your report visuals, it was not pick up other fields value based on the 'data selected' event.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;In my opinion, I'd like to suggest you add processing with rest API to lookup specific value fields. The data selected event will show the table and column which the filter/slicer hosted. &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;if they stored in the same data table, you can use the rest API to get the data table and use the current value as a parameter to find out other field values.&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;"dataPoints": [
    {
      "identity": [
        {
          "target": {
            "table": "Product",
            "column": "Manufacturer"
          },
          "equals": "xxxxxx"
        }
]&lt;/LI-CODE&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/pushdatasets/datasets_gettables" target="_self"&gt;Push Datasets - Datasets GetTables&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Sep 2020 06:59:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-09-04T06:59:45Z</dc:date>
    <item>
      <title>Power Bi embedded - interaction through dataSelected event</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-embedded-interaction-through-dataSelected-event/m-p/1340859#M25521</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;I'm trying to implement interaction between my app and embedded power bi raport. I've seen demos with dataSelected event but this all seems to be insufficent.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's say I have a table that shows users: user name and some aggregated data. I click on user name and through dataSelected event I can get 'user name' value and nothing more. Using 'user name' as a key to do something on my app side is not acceptable. I need userId. I don't want to put userId as a column in table visual.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to pass something 'extra' with dataSelected event? Not only value that was clicked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;JJ&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 10:06:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-embedded-interaction-through-dataSelected-event/m-p/1340859#M25521</guid>
      <dc:creator>pyskaty</dc:creator>
      <dc:date>2020-09-02T10:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Power Bi embedded - interaction through dataSelected event</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-embedded-interaction-through-dataSelected-event/m-p/1346532#M25544</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/97720"&gt;@pyskaty&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;For the 'data selected' event, it seems only got the current operation fields. So if you not add the field to your report visuals, it was not pick up other fields value based on the 'data selected' event.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;In my opinion, I'd like to suggest you add processing with rest API to lookup specific value fields. The data selected event will show the table and column which the filter/slicer hosted. &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;if they stored in the same data table, you can use the rest API to get the data table and use the current value as a parameter to find out other field values.&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;"dataPoints": [
    {
      "identity": [
        {
          "target": {
            "table": "Product",
            "column": "Manufacturer"
          },
          "equals": "xxxxxx"
        }
]&lt;/LI-CODE&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/pushdatasets/datasets_gettables" target="_self"&gt;Push Datasets - Datasets GetTables&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2020 06:59:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-embedded-interaction-through-dataSelected-event/m-p/1346532#M25544</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-04T06:59:45Z</dc:date>
    </item>
  </channel>
</rss>

