<?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 Re: Update dataset published via Power BI API in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Update-dataset-published-via-Power-BI-API/m-p/86959#M3079</link>
    <description>&lt;P&gt;Yeah, nameConflict parameter works here!&lt;/P&gt;&lt;P&gt;At the beggining i was getting error when i have two files with the same dataset name.(idk, but this is possible), so the overwrite dont know what file to replace.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Nov 2016 17:21:58 GMT</pubDate>
    <dc:creator>jhonatas</dc:creator>
    <dc:date>2016-11-07T17:21:58Z</dc:date>
    <item>
      <title>Update dataset published via Power BI API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Update-dataset-published-via-Power-BI-API/m-p/86313#M3059</link>
      <description>&lt;P&gt;Hello guys!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Today im doing some tests with Power BI API.&lt;/P&gt;&lt;P&gt;I already downloaded the console sample and the web sample. And created some datasets/reports to test.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the console app do do this, the option was "6 - Import PBIX Desktop file into an existing workspace".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works good, but now my doubt is, how i can update the previosly created dataset?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Searching around i found the AddRows method but im afraid that this is not a trivial thing. In the examples i see they create a json with the new rows and add to the table. I think im misunderstanding something. When i update my desktop pbix file i dont know what is the new rows? Someone can help me here? Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 19:10:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Update-dataset-published-via-Power-BI-API/m-p/86313#M3059</guid>
      <dc:creator>jhonatas</dc:creator>
      <dc:date>2016-11-04T19:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Update dataset published via Power BI API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Update-dataset-published-via-Power-BI-API/m-p/86686#M3070</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/13795"&gt;@jhonatas﻿&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can do the update by re-importing the new pbix file.&lt;BR /&gt;&lt;BR /&gt;There's an argument &lt;EM&gt;nameconfilict&lt;/EM&gt; for &lt;A href="https://msdn.microsoft.com/en-us/library/microsoft.powerbi.api.v1.importsextensions.postimportwithfileasync.aspx" target="_self"&gt;PostImportWithFileAsync&lt;/A&gt;, and as per&amp;nbsp;&lt;A href="https://github.com/Microsoft/PowerBI-CSharp/blob/master/sdk/PowerBI.Api.Tests/ImportsTests.cs" target="_self"&gt;this github sample&lt;/A&gt;, the argument value "&lt;SPAN&gt;Overwrite&lt;/SPAN&gt;" can be used&amp;nbsp;to overwrite the already existing dataset. However "&lt;SPAN&gt;Overwrite&lt;/SPAN&gt;" seems a invalid status code based on my testing and I haven't found&amp;nbsp;the correct status code yet so far.&lt;BR /&gt;&lt;BR /&gt;As a workaround, you might to use the&amp;nbsp;PowerBI-Cli to overwrite, check &lt;A href="https://github.com/Azure-Samples/power-bi-embedded-integrate-report-into-web-app/issues/22" target="_self"&gt;Updating existing workspaces with a new pbix file #22&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 09:52:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Update-dataset-published-via-Power-BI-API/m-p/86686#M3070</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2016-11-07T09:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Update dataset published via Power BI API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Update-dataset-published-via-Power-BI-API/m-p/86959#M3079</link>
      <description>&lt;P&gt;Yeah, nameConflict parameter works here!&lt;/P&gt;&lt;P&gt;At the beggining i was getting error when i have two files with the same dataset name.(idk, but this is possible), so the overwrite dont know what file to replace.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 17:21:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Update-dataset-published-via-Power-BI-API/m-p/86959#M3079</guid>
      <dc:creator>jhonatas</dc:creator>
      <dc:date>2016-11-07T17:21:58Z</dc:date>
    </item>
  </channel>
</rss>

