<?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 Writing data from API to SQL Server: Power Query vs. Power Automate vs. Data Factory in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Writing-data-from-API-to-SQL-Server-Power-Query-vs-Power/m-p/1397371#M25906</link>
    <description>&lt;P&gt;What is the best way to insert data that was extracted from API calls to SQL Server database?&lt;/P&gt;&lt;P&gt;I've built a Power Query that extracts API data with nested calls (using functions).&lt;/P&gt;&lt;P&gt;It works fine, but I need to save the data to SQL tables.&lt;/P&gt;&lt;P&gt;I've seen this excellent blog on how to INSERT with Power Query:&lt;/P&gt;&lt;P&gt;&lt;A href="https://bielite.com/blog/write-back-to-sql-database-from-power-bi/" target="_blank"&gt;https://bielite.com/blog/write-back-to-sql-database-from-power-bi/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But I am wondering if it is the best way to do it.&lt;/P&gt;&lt;P&gt;I am considering other platforms as well:&lt;/P&gt;&lt;P&gt;- Data Factory / Azure Synapse&lt;/P&gt;&lt;P&gt;- Power Automate&lt;/P&gt;&lt;P&gt;I am not a developer (though I work with Power Query including functions), I know basic API, good at copy-paste from google &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Data Factory seems rather complex to me.&lt;/P&gt;&lt;P&gt;Power Automate seems a good fit, but I couldn't find how to do NESTED API CALLS and upsert to SQL.&lt;/P&gt;&lt;P&gt;My requirement&amp;nbsp;are:&lt;BR /&gt;- Dynamic nested calls, for example //uri/students --&amp;gt; //uri/[StudentID]/classes --&amp;gt; //uri/[StudentID]/[ClassID]/attendance&lt;/P&gt;&lt;P&gt;- Incremental refresh: Upsert to SQL using PK, or, alternatively, delete all the records that are in the current API and insert all API data again.&lt;/P&gt;&lt;P&gt;- Pagination&lt;/P&gt;&lt;P&gt;I feel Power Automate can be a solution i am looking for&lt;/P&gt;&lt;P&gt;I would like to hear your professional opinions and if you have examples - will appreciate a lot!&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;</description>
    <pubDate>Sun, 27 Sep 2020 11:24:25 GMT</pubDate>
    <dc:creator>michaelshparber</dc:creator>
    <dc:date>2020-09-27T11:24:25Z</dc:date>
    <item>
      <title>Writing data from API to SQL Server: Power Query vs. Power Automate vs. Data Factory</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Writing-data-from-API-to-SQL-Server-Power-Query-vs-Power/m-p/1397371#M25906</link>
      <description>&lt;P&gt;What is the best way to insert data that was extracted from API calls to SQL Server database?&lt;/P&gt;&lt;P&gt;I've built a Power Query that extracts API data with nested calls (using functions).&lt;/P&gt;&lt;P&gt;It works fine, but I need to save the data to SQL tables.&lt;/P&gt;&lt;P&gt;I've seen this excellent blog on how to INSERT with Power Query:&lt;/P&gt;&lt;P&gt;&lt;A href="https://bielite.com/blog/write-back-to-sql-database-from-power-bi/" target="_blank"&gt;https://bielite.com/blog/write-back-to-sql-database-from-power-bi/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But I am wondering if it is the best way to do it.&lt;/P&gt;&lt;P&gt;I am considering other platforms as well:&lt;/P&gt;&lt;P&gt;- Data Factory / Azure Synapse&lt;/P&gt;&lt;P&gt;- Power Automate&lt;/P&gt;&lt;P&gt;I am not a developer (though I work with Power Query including functions), I know basic API, good at copy-paste from google &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Data Factory seems rather complex to me.&lt;/P&gt;&lt;P&gt;Power Automate seems a good fit, but I couldn't find how to do NESTED API CALLS and upsert to SQL.&lt;/P&gt;&lt;P&gt;My requirement&amp;nbsp;are:&lt;BR /&gt;- Dynamic nested calls, for example //uri/students --&amp;gt; //uri/[StudentID]/classes --&amp;gt; //uri/[StudentID]/[ClassID]/attendance&lt;/P&gt;&lt;P&gt;- Incremental refresh: Upsert to SQL using PK, or, alternatively, delete all the records that are in the current API and insert all API data again.&lt;/P&gt;&lt;P&gt;- Pagination&lt;/P&gt;&lt;P&gt;I feel Power Automate can be a solution i am looking for&lt;/P&gt;&lt;P&gt;I would like to hear your professional opinions and if you have examples - will appreciate a lot!&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Sun, 27 Sep 2020 11:24:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Writing-data-from-API-to-SQL-Server-Power-Query-vs-Power/m-p/1397371#M25906</guid>
      <dc:creator>michaelshparber</dc:creator>
      <dc:date>2020-09-27T11:24:25Z</dc:date>
    </item>
  </channel>
</rss>

