<?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: Power Bi REST API update row values in dataset in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-REST-API-update-row-values-in-dataset/m-p/4330992#M58697</link>
    <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/888647"&gt;@Ulari&lt;/a&gt;&amp;nbsp;You can use dataverse table instead of a excel table but you would be required to purchase premium license. You can use the update row / add row connector for dataverse within the power automate flow. Dataverse tables support direct query too !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Did I answer question ? Please mark this post as a solution.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jai&lt;/P&gt;</description>
    <pubDate>Mon, 16 Dec 2024 14:14:32 GMT</pubDate>
    <dc:creator>Jai-Rathinavel</dc:creator>
    <dc:date>2024-12-16T14:14:32Z</dc:date>
    <item>
      <title>Power Bi REST API update row values in dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-REST-API-update-row-values-in-dataset/m-p/4314933#M58554</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a dataset via API called Shipment. Each row is one shipment.&lt;/P&gt;&lt;P&gt;It is well explained in the MS Learn Center how to add new Rows. But how to update row details? For example I have column called "customer ref". I would need to change this reference. How to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is no direct endpoint for this. So I was exploring&amp;nbsp;&lt;SPAN&gt;/executeQueries endpoint but I am still stuck with DAX Query.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The obivious way would be to add new record and then in my calculations always use the latest record but this will lead massive datasets and complex Queries which I do not want. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a way to change Shipments[Customer ref] value via API&amp;nbsp; without creating new record/row.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Many thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ulari&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 08:37:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-REST-API-update-row-values-in-dataset/m-p/4314933#M58554</guid>
      <dc:creator>Ulari</dc:creator>
      <dc:date>2024-12-05T08:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Power Bi REST API update row values in dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-REST-API-update-row-values-in-dataset/m-p/4315063#M58556</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/888647"&gt;@Ulari&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like you mentioned already, it seems we don't have a updaterows method. It has been listed as an idea for a while though (which you can upvote)&lt;/P&gt;&lt;P&gt;&lt;A href="https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=28ebb38e-0b1f-4244-a1ea-ac31996ae3f5&amp;amp;%3B%3B" target="_blank"&gt;https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=28ebb38e-0b1f-4244-a1ea-ac31996ae3f5&amp;amp;%3B%3B&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding a workaround, you might be able to use a new column for this (calculated). Can you try a DAX query like the below in your exectureQueries endpoint?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;UpdatedCustomerRef = 
IF(Shipments[ShipmentID] = 123, "NewCustomerRefValue", Shipments[CustomerRef])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-calculated-columns" target="_blank"&gt;https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-calculated-columns&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 09:59:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-REST-API-update-row-values-in-dataset/m-p/4315063#M58556</guid>
      <dc:creator>Expiscornovus</dc:creator>
      <dc:date>2024-12-05T09:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Power Bi REST API update row values in dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-REST-API-update-row-values-in-dataset/m-p/4315198#M58560</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/21750"&gt;@Expiscornovus&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for replying!&lt;/P&gt;&lt;P&gt;May I use your kind help a little further?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am struggeling with implementing the request body.&lt;/P&gt;&lt;P&gt;Can you point me to correct direction?&lt;/P&gt;&lt;P&gt;And even further - would it be possible to over-write the original value instead adding new column? This customer ref field was just an example. Basically any field may change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ülari&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 11:52:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-REST-API-update-row-values-in-dataset/m-p/4315198#M58560</guid>
      <dc:creator>Ulari</dc:creator>
      <dc:date>2024-12-05T11:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Power Bi REST API update row values in dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-REST-API-update-row-values-in-dataset/m-p/4327603#M58665</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/888647"&gt;@Ulari&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as I know, Power BI is a read-only application to create report and analysis data. Power BI currently support us to execute dax queries for dataset by REST API.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/execute-queries" target="_blank"&gt;Datasets - Execute Queries - REST API (Power BI Power BI REST APIs) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Your new requirement sounds like replace function. You can try replace in Power Query Editor in Power BI Desktop.&lt;/P&gt;
&lt;P&gt;It doesn't support us to call it by REST API.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vrzhoumsft_1-1734079460367.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1214669iCE8751F37C4D5782/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vrzhoumsft_1-1734079460367.png" alt="vrzhoumsft_1-1734079460367.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Replace 123's original CustomerRef A to NewCustomerRef&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vrzhoumsft_0-1734079451809.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1214668iC1C8D3CB716646E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vrzhoumsft_0-1734079451809.png" alt="vrzhoumsft_0-1734079451809.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 08:45:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-REST-API-update-row-values-in-dataset/m-p/4327603#M58665</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-13T08:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Power Bi REST API update row values in dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-REST-API-update-row-values-in-dataset/m-p/4329634#M58685</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/888647"&gt;@Ulari&lt;/a&gt;&amp;nbsp;Updating a row on Power BI dataset is currenlty not possible. Try the recommended approach below&lt;/P&gt;&lt;P&gt;1. Change your source to an table in a excel file and store the file in sharepoint.&lt;/P&gt;&lt;P&gt;2. Pull the data from sharepoint into Power BI.&lt;/P&gt;&lt;P&gt;3. Now with the help of power automate you can update, delete or add rows to the online excel and then refresh the Power BI dataset.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://digitalmill.net/2023/07/24/inserting-and-updating-data-into-excel-tables-with-power-automate/" target="_self"&gt;https://digitalmill.net/2023/07/24/inserting-and-updating-data-into-excel-tables-with-power-automate/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also query the dataset using the Execute Queries connector available in Power Automate and will only be needing power automate free license.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JaiRathinavel_1-1734274714522.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1215414i6E7888654D2C8782/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JaiRathinavel_1-1734274714522.png" alt="JaiRathinavel_1-1734274714522.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JaiRathinavel_0-1734274673513.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1215413iEBA14501FD5F35E7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JaiRathinavel_0-1734274673513.png" alt="JaiRathinavel_0-1734274673513.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Did I answer your question ? Please mark this post as a solution.&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jai&lt;/P&gt;</description>
      <pubDate>Sun, 15 Dec 2024 14:59:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-REST-API-update-row-values-in-dataset/m-p/4329634#M58685</guid>
      <dc:creator>Jai-Rathinavel</dc:creator>
      <dc:date>2024-12-15T14:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Power Bi REST API update row values in dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-REST-API-update-row-values-in-dataset/m-p/4330468#M58694</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/848336"&gt;@Jai-Rathinavel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks you! This is exactly what I needed to understand. I am disappointed of course that there is now way of updateing the rows directly in Power BI but good at least that I did get the confirmation.&lt;/P&gt;&lt;P&gt;My only concern now is that I will be running out of lines in Excel spreadsheet (Max 1M lines) over time and need to set up a logic to add new files when this happens.&lt;/P&gt;&lt;P&gt;Will look into this setup anyways - thanks once more!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 09:13:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-REST-API-update-row-values-in-dataset/m-p/4330468#M58694</guid>
      <dc:creator>Ulari</dc:creator>
      <dc:date>2024-12-16T09:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Power Bi REST API update row values in dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-REST-API-update-row-values-in-dataset/m-p/4330992#M58697</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/888647"&gt;@Ulari&lt;/a&gt;&amp;nbsp;You can use dataverse table instead of a excel table but you would be required to purchase premium license. You can use the update row / add row connector for dataverse within the power automate flow. Dataverse tables support direct query too !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Did I answer question ? Please mark this post as a solution.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jai&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 14:14:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-REST-API-update-row-values-in-dataset/m-p/4330992#M58697</guid>
      <dc:creator>Jai-Rathinavel</dc:creator>
      <dc:date>2024-12-16T14:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Power Bi REST API update row values in dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-REST-API-update-row-values-in-dataset/m-p/4331017#M58698</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/848336"&gt;@Jai-Rathinavel&lt;/a&gt;&amp;nbsp;again&lt;/P&gt;&lt;P&gt;Thank you for this hint. I will give it a closer look.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 14:24:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-REST-API-update-row-values-in-dataset/m-p/4331017#M58698</guid>
      <dc:creator>Ulari</dc:creator>
      <dc:date>2024-12-16T14:24:27Z</dc:date>
    </item>
  </channel>
</rss>

