<?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 Recreate report dataset when using import api in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Recreate-report-dataset-when-using-import-api/m-p/480184#M14722</link>
    <description>&lt;P&gt;Am using PowerBI rest api - Import operation (PostImportWithFileInGropup) to create duplicates of a report for various users in a workspace.&lt;/P&gt;&lt;P&gt;While using the API I would like to recreate the backing dataset for the report and not share it among the multiple reports thus created. Is there a api option that will enable that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To illustrate,&lt;/P&gt;&lt;P&gt;sample_report.pbix was imported multiple times using&amp;nbsp;&lt;SPAN&gt;PostImportWithFileInGropup with following args.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;run1 - datasetdisplayname=sample_report_user1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;run2 - datasetdisplayname=sample_report_user2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;run3 -&amp;nbsp;datasetdisplayname=sample_report_user3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Observed:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;New reports were created with the supplied 'datasetdisplayname' param but the backing dataset was not created. All 3 share 'sample_report_user1' named dataset.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 03 Aug 2018 20:00:50 GMT</pubDate>
    <dc:creator>repl-satyveer-s</dc:creator>
    <dc:date>2018-08-03T20:00:50Z</dc:date>
    <item>
      <title>Recreate report dataset when using import api</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Recreate-report-dataset-when-using-import-api/m-p/480184#M14722</link>
      <description>&lt;P&gt;Am using PowerBI rest api - Import operation (PostImportWithFileInGropup) to create duplicates of a report for various users in a workspace.&lt;/P&gt;&lt;P&gt;While using the API I would like to recreate the backing dataset for the report and not share it among the multiple reports thus created. Is there a api option that will enable that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To illustrate,&lt;/P&gt;&lt;P&gt;sample_report.pbix was imported multiple times using&amp;nbsp;&lt;SPAN&gt;PostImportWithFileInGropup with following args.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;run1 - datasetdisplayname=sample_report_user1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;run2 - datasetdisplayname=sample_report_user2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;run3 -&amp;nbsp;datasetdisplayname=sample_report_user3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Observed:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;New reports were created with the supplied 'datasetdisplayname' param but the backing dataset was not created. All 3 share 'sample_report_user1' named dataset.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 20:00:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Recreate-report-dataset-when-using-import-api/m-p/480184#M14722</guid>
      <dc:creator>repl-satyveer-s</dc:creator>
      <dc:date>2018-08-03T20:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Recreate report dataset when using import api</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Recreate-report-dataset-when-using-import-api/m-p/481378#M14763</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="75078" data-lia-user-login="repl-satyveer-s" class="lia-mention lia-mention-user"&gt;repl-satyveer-s&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you share a snapshot of your issue, please? It works perfectly on my test.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Dale&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 12:34:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Recreate-report-dataset-when-using-import-api/m-p/481378#M14763</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-08-06T12:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Recreate report dataset when using import api</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Recreate-report-dataset-when-using-import-api/m-p/484404#M14867</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;So am doing the following (using Microsoft.PowerBI.Api ver 2.0.12)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var filePath = @"C:\Pta_Charts_import.pbix";&lt;BR /&gt;using (var fileStream = File.OpenRead(filePath.Trim('"')))&lt;BR /&gt;{&lt;BR /&gt;using (var client = new PowerBIClient(ApiUrl.Value.ToUri(), tokenCredentials))&lt;BR /&gt;{&lt;BR /&gt;var groupId = GroupId.Value;&lt;BR /&gt;client.HttpClient.DefaultRequestHeaders.Add("ActivityId", Guid.NewGuid().ToString());&lt;BR /&gt;var import = client.Imports.PostImportWithFileInGroup(groupId, fileStream, "&lt;STRONG&gt;Pta_import_report&lt;/STRONG&gt;");&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I execute this multiple times with different input for datasetDisplyaName (shown in bold). Reports are getting created but the datasets is created only once.&lt;/P&gt;&lt;P&gt;Pta_import_report1, Pta_import_report2, etc get created and use "Pta_import_report1" as the backing dataset.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 20:09:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Recreate-report-dataset-when-using-import-api/m-p/484404#M14867</guid>
      <dc:creator>repl-satyveer-s</dc:creator>
      <dc:date>2018-08-08T20:09:07Z</dc:date>
    </item>
  </channel>
</rss>

