<?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 Exporting data from a standard PowerBI Visual to an external API in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Exporting-data-from-a-standard-PowerBI-Visual-to-an-external-API/m-p/1079304#M23550</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;we are still a bit new to PowerBI and integrations, but what we want is actually pretty straightforward, but we weren't able to&lt;BR /&gt;get a decent starting point just by googling.&lt;/P&gt;&lt;P&gt;Imagine you have a report with some filterable data. And you want to open this data in an external application.&lt;BR /&gt;We were wondering if there was some way to export this data with just a click of a button. We were thinking about&lt;BR /&gt;some way to create a button which uploads the currently visible data from a given visual via ajax to some API we build&lt;BR /&gt;for that purpose.&lt;/P&gt;&lt;P&gt;Is this possible, and what's a good starting point to read into this stuff?&lt;/P&gt;</description>
    <pubDate>Thu, 07 May 2020 13:33:09 GMT</pubDate>
    <dc:creator>developmenttend</dc:creator>
    <dc:date>2020-05-07T13:33:09Z</dc:date>
    <item>
      <title>Exporting data from a standard PowerBI Visual to an external API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Exporting-data-from-a-standard-PowerBI-Visual-to-an-external-API/m-p/1079304#M23550</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;we are still a bit new to PowerBI and integrations, but what we want is actually pretty straightforward, but we weren't able to&lt;BR /&gt;get a decent starting point just by googling.&lt;/P&gt;&lt;P&gt;Imagine you have a report with some filterable data. And you want to open this data in an external application.&lt;BR /&gt;We were wondering if there was some way to export this data with just a click of a button. We were thinking about&lt;BR /&gt;some way to create a button which uploads the currently visible data from a given visual via ajax to some API we build&lt;BR /&gt;for that purpose.&lt;/P&gt;&lt;P&gt;Is this possible, and what's a good starting point to read into this stuff?&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 13:33:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Exporting-data-from-a-standard-PowerBI-Visual-to-an-external-API/m-p/1079304#M23550</guid>
      <dc:creator>developmenttend</dc:creator>
      <dc:date>2020-05-07T13:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data from a standard PowerBI Visual to an external API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Exporting-data-from-a-standard-PowerBI-Visual-to-an-external-API/m-p/1081963#M23574</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/228838"&gt;@developmenttend&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;In terms of core functionality you can't automate the export of data from within Power BI reports in the way you're proposing.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You can manually export the data from a visual &lt;A href="https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-export-data#export-data-from-a-report" target="_self"&gt;using the options in the visual header&lt;/A&gt;, if your administrator has permitted it.&lt;/LI&gt;
&lt;LI&gt;If you're on premium, you could write an integration outside of Power BI that generates a query using the &lt;A href="https://docs.microsoft.com/en-us/power-bi/service-premium-connect-tools" target="_self"&gt;XMLA endpoint&lt;/A&gt; and then sends it on somewhere else.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Visuals can't talk to other visuals. They also don't have access to the data model - the data is pushed into the visual from Power BI based on the combination of fields/measures in the properties pane.&lt;/P&gt;
&lt;P&gt;While cross-filtering and slicing has the appearance that a visual is affecting others, any such operations are requests from the visual to the main window via an API to request that it filter other visuals on its behalf and Power BI will delegate to other visuals based on their interactions.&lt;/P&gt;
&lt;P&gt;You can write a custom visual that can export its own data to an endpoint but this endpoint needs to allow requests from any domain as a custom visual is a &lt;A href="https://www.w3schools.com/tags/att_iframe_sandbox.asp" target="_self"&gt;sandboxed iframe&lt;/A&gt; with very limited functionality. But in short, this is still within its own particular context and can't reach outside itself to other visuals.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 21:30:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Exporting-data-from-a-standard-PowerBI-Visual-to-an-external-API/m-p/1081963#M23574</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2020-05-08T21:30:42Z</dc:date>
    </item>
  </channel>
</rss>

