<?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 Report REST API returns error after Rebind report api in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Export-Report-REST-API-returns-error-after-Rebind-report-api/m-p/705585#M19558</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am rebinding a report to a new dataset by using Rebind REST api. I can see the report gets refreshed. Then I am trying to export that report by export Report REST api. But, I am getting the error "ExportPBIX_ModelessWorkbookNotFound". If I upload a pbix file and then export the report, it works fine. Can anyone please help in exporting the report after rebinding. I want it to be done programatically.&lt;/P&gt;&lt;P&gt;Any help will be appreciated!!!!&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jun 2019 12:38:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-06-03T12:38:15Z</dc:date>
    <item>
      <title>Export Report REST API returns error after Rebind report api</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Export-Report-REST-API-returns-error-after-Rebind-report-api/m-p/705585#M19558</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am rebinding a report to a new dataset by using Rebind REST api. I can see the report gets refreshed. Then I am trying to export that report by export Report REST api. But, I am getting the error "ExportPBIX_ModelessWorkbookNotFound". If I upload a pbix file and then export the report, it works fine. Can anyone please help in exporting the report after rebinding. I want it to be done programatically.&lt;/P&gt;&lt;P&gt;Any help will be appreciated!!!!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 12:38:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Export-Report-REST-API-returns-error-after-Rebind-report-api/m-p/705585#M19558</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-03T12:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Export Report REST API returns error after Rebind report api</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Export-Report-REST-API-returns-error-after-Rebind-report-api/m-p/743484#M20031</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you ever find a solution? I'm stuck on the same boat as you were...&lt;/P&gt;&lt;P&gt;I am using the Powershell cmdlet&amp;nbsp;Export-PowerBIReport to do&amp;nbsp; the exporting, but beforehands I use the REST API to rebind my report to a new dataset. The export only works on the first dataset, but never with the second, even if the report is updated on the PBI app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The script basically goes like this:&lt;/P&gt;&lt;P&gt;1) Getting all the necessary infos (workspace,report and datasets IDs, etc)&lt;/P&gt;&lt;P&gt;2) A step to swap the dataset to the other one&lt;/P&gt;&lt;P&gt;3) Export the report&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All steps work fine except for #3 and only for the case where the second dataset is in use.&lt;/P&gt;&lt;P&gt;Both my datasets have the same schema, they differ only by the number of entries and the values for each entry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT:&lt;/P&gt;&lt;P&gt;I stumbled upon something when trying to manually download the report from the app...&lt;/P&gt;&lt;P&gt;It will let me download the report as a .pbix when using the first dataset, but the option is greyed out when I try the same thing with the second dataset. The reason:&lt;/P&gt;&lt;P&gt;The Download report option (as .pbix) is only available for reports created in PBI desktop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I first uploaded the report on the PBI app, it was with the first dataset, hence it is valid.&lt;/P&gt;&lt;P&gt;I uploaded the second dataset as a standalone file,&amp;nbsp; which is then binded to the report.&lt;/P&gt;&lt;P&gt;So most likely the export can't work because the new dataset did not go through PBI deskop.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2019 18:02:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Export-Report-REST-API-returns-error-after-Rebind-report-api/m-p/743484#M20031</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-18T18:02:00Z</dc:date>
    </item>
  </channel>
</rss>

