<?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: Getting selected element in a Power BI report from API in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Getting-selected-element-in-a-Power-BI-report-from-API/m-p/1169176#M24258</link>
    <description>&lt;P&gt;Thank you very much, this looks like exactly the kind of reference I need. I only ever got the REST API which did not seem capable of solving the issue for me but this seems like it should be able to handle the job.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jun 2020 15:07:16 GMT</pubDate>
    <dc:creator>-Rem-</dc:creator>
    <dc:date>2020-06-18T15:07:16Z</dc:date>
    <item>
      <title>Getting selected element in a Power BI report from API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Getting-selected-element-in-a-Power-BI-report-from-API/m-p/1168825#M24249</link>
      <description>&lt;P&gt;I am looking to get what item has been selected in Power BI and to send that information to a program outside of Power BI.&lt;/P&gt;&lt;P&gt;Previously, I have done this in connection with PowerApps. Using PowerBIIntegration.Data, I was able to get information based on a visual selection in Power BI - such as which customer had been selected in a list. We have now decided to replace PowerApps with custom developed third party software for our particular use case. So now, instead of being able to select a customer in Power BI and have PowerApps be automatically pre-populated with information from this customer I need a way so I can still select a customer in Power BI but get the information to a different destination. I have researched the REST API PBI offers but I was unsuccesful.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2020 12:45:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Getting-selected-element-in-a-Power-BI-report-from-API/m-p/1168825#M24249</guid>
      <dc:creator>-Rem-</dc:creator>
      <dc:date>2020-06-18T12:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Getting selected element in a Power BI report from API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Getting-selected-element-in-a-Power-BI-report-from-API/m-p/1169164#M24256</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/235365"&gt;@-Rem-&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;if you are using the PowerBI Javascript API to perform the embedding - then you can use the 'Events' capability within reports.&lt;BR /&gt;&lt;A title="Power BI Javascript Wiki" href="https://github.com/microsoft/PowerBI-JavaScript/wiki/Handling-Events" target="_blank" rel="noopener"&gt;https://github.com/microsoft/PowerBI-JavaScript/wiki/Handling-Events&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Registering to the 'dataSelected' event will let your application handle selections that it is interested in.&lt;BR /&gt;It can a little bit fiddly to filter out the noise to find only the events you are interested in - but this technique is reliable and works very well.&lt;BR /&gt;&lt;BR /&gt;Another possible option is to use the 'Commands' API -&amp;gt; &lt;A title="Power BI Javascript Wiki" href="https://github.com/Microsoft/PowerBI-JavaScript/wiki/Commands" target="_blank" rel="noopener"&gt;https://github.com/Microsoft/PowerBI-JavaScript/wiki/Commands&lt;/A&gt;&lt;BR /&gt;This will let you extend the context/header menu on some visuals. You can then acces the datapoints that are currently 'in focus' and perform actions in your app that way.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2020 15:05:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Getting-selected-element-in-a-Power-BI-report-from-API/m-p/1169164#M24256</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-18T15:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Getting selected element in a Power BI report from API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Getting-selected-element-in-a-Power-BI-report-from-API/m-p/1169176#M24258</link>
      <description>&lt;P&gt;Thank you very much, this looks like exactly the kind of reference I need. I only ever got the REST API which did not seem capable of solving the issue for me but this seems like it should be able to handle the job.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2020 15:07:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Getting-selected-element-in-a-Power-BI-report-from-API/m-p/1169176#M24258</guid>
      <dc:creator>-Rem-</dc:creator>
      <dc:date>2020-06-18T15:07:16Z</dc:date>
    </item>
  </channel>
</rss>

