<?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 Export to file and dynamic bind dataset in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Export-to-file-and-dynamic-bind-dataset/m-p/1401933#M25937</link>
    <description>&lt;P&gt;I'm using PowerBI embeded to reports, I have multiple datasets for the same report and use dynamic binding&amp;nbsp; at display depending on the user. (&lt;A href="https://azure.microsoft.com/en-gb/updates/power-bi-embedded-dynamic-binding/)" target="_blank" rel="noopener"&gt;https://azure.microsoft.com/en-gb/updates/power-bi-embedded-dynamic-binding/)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to export these reports to pdf/pptx and I'm using the ExportReport command in the rest API (&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/reports/exportreportingroup" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/reports/exportreportingroup&lt;/A&gt;). I can see no way to set the dataset to bind.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the only option to rebind the report before exporting? If I do that do I have to wait for the export to complete before i export the next if i need to rebind again, effectively queuing all the requests?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 12:57:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-09-29T12:57:54Z</dc:date>
    <item>
      <title>Export to file and dynamic bind dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Export-to-file-and-dynamic-bind-dataset/m-p/1401933#M25937</link>
      <description>&lt;P&gt;I'm using PowerBI embeded to reports, I have multiple datasets for the same report and use dynamic binding&amp;nbsp; at display depending on the user. (&lt;A href="https://azure.microsoft.com/en-gb/updates/power-bi-embedded-dynamic-binding/)" target="_blank" rel="noopener"&gt;https://azure.microsoft.com/en-gb/updates/power-bi-embedded-dynamic-binding/)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to export these reports to pdf/pptx and I'm using the ExportReport command in the rest API (&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/reports/exportreportingroup" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/reports/exportreportingroup&lt;/A&gt;). I can see no way to set the dataset to bind.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the only option to rebind the report before exporting? If I do that do I have to wait for the export to complete before i export the next if i need to rebind again, effectively queuing all the requests?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:57:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Export-to-file-and-dynamic-bind-dataset/m-p/1401933#M25937</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-29T12:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Export to file and dynamic bind dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Export-to-file-and-dynamic-bind-dataset/m-p/1985271#M30783</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;did you ever sort this out? I need to do the same thing and have the same question you raised.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 16:39:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Export-to-file-and-dynamic-bind-dataset/m-p/1985271#M30783</guid>
      <dc:creator>annwallinger</dc:creator>
      <dc:date>2021-07-28T16:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Export to file and dynamic bind dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Export-to-file-and-dynamic-bind-dataset/m-p/2423128#M35210</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="5654" data-lia-user-login="annwallinger" class="lia-mention lia-mention-user"&gt;annwallinger&lt;/a&gt;&amp;nbsp;have you managed to solve this one?&lt;/P&gt;&lt;P&gt;We are facing the same issue and got no clue to move on.&lt;/P&gt;&lt;P&gt;Microsoft, please help.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 05:34:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Export-to-file-and-dynamic-bind-dataset/m-p/2423128#M35210</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-29T05:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Export to file and dynamic bind dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Export-to-file-and-dynamic-bind-dataset/m-p/2423378#M35215</link>
      <description>&lt;P&gt;This it currently not possible. The report is always exported with the original dataset it's bound to.&lt;/P&gt;&lt;P&gt;Such a support might be added in the future for "Export to File" REST API (export to PDF/PPTX/PNG). I don't know if it will be supported for export to PBIX.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 07:16:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Export-to-file-and-dynamic-bind-dataset/m-p/2423378#M35215</guid>
      <dc:creator>AmosHersch</dc:creator>
      <dc:date>2022-03-29T07:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Export to file and dynamic bind dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Export-to-file-and-dynamic-bind-dataset/m-p/2423391#M35216</link>
      <description>&lt;P&gt;Thank you Amos, for your response.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 07:20:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Export-to-file-and-dynamic-bind-dataset/m-p/2423391#M35216</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-29T07:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Export to file and dynamic bind dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Export-to-file-and-dynamic-bind-dataset/m-p/2780008#M38748</link>
      <description>&lt;P&gt;This should be possible now for certain file types (I tested using PDF).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The &lt;EM&gt;Export To File In Group&lt;/EM&gt; endpoint now supports a datasetToBind field:&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group#powerbireportexportconfiguration" target="_blank" rel="noopener"&gt;Reports - Export To File In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There seems to be a similar field for &lt;EM&gt;Export to File:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file#powerbireportexportconfiguration" target="_blank" rel="noopener"&gt;Reports - Export To File - REST API (Power BI Power BI REST APIs) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This can be used to specify the dataset ID that you want to dynamically bind your report to. I have tested &lt;EM&gt;Export To File In Group&lt;/EM&gt; with a dataset that is in a different workspace to my report and the API call was able to resolve the workspaceId of the dataset automatically.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Keep in mind that you may need to update your Power BI client library in order to access this field. I am using the .NET client and needed to update to version 4.10.0:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://www.nuget.org/packages/Microsoft.PowerBI.Api/" target="_blank" rel="noopener"&gt;NuGet Gallery | Microsoft.PowerBI.Api 4.10.0&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 08:55:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Export-to-file-and-dynamic-bind-dataset/m-p/2780008#M38748</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-20T08:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Export to file and dynamic bind dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Export-to-file-and-dynamic-bind-dataset/m-p/3183123#M42157</link>
      <description>&lt;P&gt;Does this really work? Because I receive a Report with "Something's wrong with one or more fields" when I try to do this.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 04:30:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Export-to-file-and-dynamic-bind-dataset/m-p/3183123#M42157</guid>
      <dc:creator>deepspacedev</dc:creator>
      <dc:date>2023-04-12T04:30:59Z</dc:date>
    </item>
  </channel>
</rss>

