<?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 Embed dataset via API in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Embed-dataset-via-API/m-p/700739#M19506</link>
    <description>&lt;P&gt;I need programatically import user-provided csv to Power BI and send direct link to imported data to user's email.&lt;/P&gt;&lt;P&gt;This is&amp;nbsp;app-owns-data scenario and user is not registered in Power BI service so as I understand this is possible via embedded tools.&lt;/P&gt;&lt;P&gt;I managed to create dataset and add all rows to it from CSV via API but can't find any way to provide result to the user without manual operations.&lt;/P&gt;&lt;P&gt;Ideas I investigated:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;create Report from Dataset and embed Report&lt;/STRONG&gt;&lt;BR /&gt;REST API doesn't seem to have any report creation endpoints (&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/reports" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/reports&lt;/A&gt;)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;create Dashboard, add Dataset to it and embed Dashboard&lt;/STRONG&gt;&lt;BR /&gt;no endpoints to add anything to dashboard (&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/dashboards" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/dashboards&lt;/A&gt;)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Would appreciate any suggestions.&lt;/P&gt;</description>
    <pubDate>Mon, 27 May 2019 18:27:42 GMT</pubDate>
    <dc:creator>obespalov</dc:creator>
    <dc:date>2019-05-27T18:27:42Z</dc:date>
    <item>
      <title>Embed dataset via API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embed-dataset-via-API/m-p/700739#M19506</link>
      <description>&lt;P&gt;I need programatically import user-provided csv to Power BI and send direct link to imported data to user's email.&lt;/P&gt;&lt;P&gt;This is&amp;nbsp;app-owns-data scenario and user is not registered in Power BI service so as I understand this is possible via embedded tools.&lt;/P&gt;&lt;P&gt;I managed to create dataset and add all rows to it from CSV via API but can't find any way to provide result to the user without manual operations.&lt;/P&gt;&lt;P&gt;Ideas I investigated:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;create Report from Dataset and embed Report&lt;/STRONG&gt;&lt;BR /&gt;REST API doesn't seem to have any report creation endpoints (&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/reports" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/reports&lt;/A&gt;)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;create Dashboard, add Dataset to it and embed Dashboard&lt;/STRONG&gt;&lt;BR /&gt;no endpoints to add anything to dashboard (&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/dashboards" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/dashboards&lt;/A&gt;)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Would appreciate any suggestions.&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 18:27:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embed-dataset-via-API/m-p/700739#M19506</guid>
      <dc:creator>obespalov</dc:creator>
      <dc:date>2019-05-27T18:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Embed dataset via API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embed-dataset-via-API/m-p/701684#M19515</link>
      <description>&lt;P&gt;Solved it by embedding dataset as Q&amp;amp;A with&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mode&lt;/STRONG&gt;: &lt;EM&gt;ResultOnly&lt;/EM&gt; (&lt;SPAN&gt;Show answer only, use predefined question)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;: "&lt;EM&gt;default"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Related APIs:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/embedtoken/datasets_generatetokeningroup" target="_blank"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/embedtoken/datasets_generatetokeningroup&lt;/A&gt;&lt;/P&gt;&lt;P&gt;URL to embed:&amp;nbsp;&lt;A href="https://app.powerbi.com/qnaEmbed" target="_blank"&gt;https://app.powerbi.com/qnaEmbed&lt;/A&gt; as found in playground.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It can be tested in playground:&amp;nbsp;&lt;A href="https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html#" target="_blank" rel="noopener"&gt;https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 19:14:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embed-dataset-via-API/m-p/701684#M19515</guid>
      <dc:creator>obespalov</dc:creator>
      <dc:date>2019-05-28T19:14:31Z</dc:date>
    </item>
  </channel>
</rss>

