<?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: How to import large csv to dataset using powershell in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/How-to-import-large-csv-to-dataset-using-powershell/m-p/2680609#M37722</link>
    <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you referrring the regular dataset or push datasets?&lt;/P&gt;&lt;P&gt;The following property is by default disabled for the dataset -&amp;nbsp;"addRowsAPIEnabled": false&lt;/P&gt;&lt;P&gt;If you create a dataset directly using the Powershell then the above property is enabled true so you can use Add-PowerBI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check -&amp;nbsp;&lt;A href="https://petri.com/how-to-push-data-via-powershell-to-powerbi/" target="_blank"&gt;https://petri.com/how-to-push-data-via-powershell-to-powerbi/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Hari&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;STRONG&gt;Did I answer your question? Then please mark my post as the solution.&lt;BR /&gt;If I helped you, click on the Thumbs Up to give Kudos.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://dataap.org/blog/author/hariharanr/" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;My Blog&lt;/STRONG&gt;&lt;/A&gt; :: &lt;A href="https://www.youtube.com/c/HarisBI" target="_blank" rel="nofollow noopener noreferrer"&gt;YouTube Channel&lt;/A&gt; :: &lt;A href="https://www.linkedin.com/in/imhariharanr/" target="_blank" rel="nofollow noopener noreferrer"&gt;My Linkedin&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 04 Aug 2022 06:23:32 GMT</pubDate>
    <dc:creator>Hariharan_R</dc:creator>
    <dc:date>2022-08-04T06:23:32Z</dc:date>
    <item>
      <title>How to import large csv to dataset using powershell</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-import-large-csv-to-dataset-using-powershell/m-p/2679650#M37713</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to load a many large csv file into powerbi automatically, and to so i've automate the creation of datasets.&lt;/P&gt;&lt;P&gt;However when i try to add rows of data to the dataset in this fashion it simply crashes::&lt;/P&gt;&lt;P&gt;&lt;FONT face="terminal,monaco"&gt;&lt;SPAN class=""&gt;`Add-PowerBIRow&lt;/SPAN&gt;&lt;SPAN class=""&gt; -DataSetId&lt;/SPAN&gt;&amp;nbsp;$dataset1.Id&amp;nbsp;&lt;SPAN class=""&gt;-TableName&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;$table1.name&lt;/SPAN&gt;&lt;SPAN class=""&gt; -Rows&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN class=""&gt;Import-Csv&lt;/SPAN&gt;&lt;SPAN class=""&gt; -Path&lt;/SPAN&gt; &lt;SPAN class=""&gt;".\data.csv"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&amp;nbsp;`&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;as seen here :: &lt;A href="https://docs.microsoft.com/en-us/powershell/module/microsoftpowerbimgmt.data/add-powerbirow?view=powerbi-ps" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/powershell/module/microsoftpowerbimgmt.data/add-powerbirow?view=powerbi-ps&lt;/A&gt;&lt;/P&gt;&lt;P&gt;if I try iterating over every element and adding individually i get a "tooManyResquests" error, and if I try by chunks it doesn't return an error but simply nothing happens.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a proper way to import a csv file into powerBI using the powershell API, in the same fashion as you would do it manually?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you,&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 19:17:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-import-large-csv-to-dataset-using-powershell/m-p/2679650#M37713</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-03T19:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to import large csv to dataset using powershell</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-import-large-csv-to-dataset-using-powershell/m-p/2680609#M37722</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you referrring the regular dataset or push datasets?&lt;/P&gt;&lt;P&gt;The following property is by default disabled for the dataset -&amp;nbsp;"addRowsAPIEnabled": false&lt;/P&gt;&lt;P&gt;If you create a dataset directly using the Powershell then the above property is enabled true so you can use Add-PowerBI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check -&amp;nbsp;&lt;A href="https://petri.com/how-to-push-data-via-powershell-to-powerbi/" target="_blank"&gt;https://petri.com/how-to-push-data-via-powershell-to-powerbi/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Hari&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;STRONG&gt;Did I answer your question? Then please mark my post as the solution.&lt;BR /&gt;If I helped you, click on the Thumbs Up to give Kudos.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://dataap.org/blog/author/hariharanr/" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;My Blog&lt;/STRONG&gt;&lt;/A&gt; :: &lt;A href="https://www.youtube.com/c/HarisBI" target="_blank" rel="nofollow noopener noreferrer"&gt;YouTube Channel&lt;/A&gt; :: &lt;A href="https://www.linkedin.com/in/imhariharanr/" target="_blank" rel="nofollow noopener noreferrer"&gt;My Linkedin&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 04 Aug 2022 06:23:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-import-large-csv-to-dataset-using-powershell/m-p/2680609#M37722</guid>
      <dc:creator>Hariharan_R</dc:creator>
      <dc:date>2022-08-04T06:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to import large csv to dataset using powershell</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-import-large-csv-to-dataset-using-powershell/m-p/5186063#M65121</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/118918"&gt;@Hariharan_R&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When importing a large CSV file into a dataset using PowerShell, it is recommended to avoid loading the entire file into memory at once, as this can impact performance and lead to processing failures with very large datasets.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead, use PowerShell cmdlets such as Import-Csv with batch processing logic or stream data in smaller chunks for efficient handling. For exceptionally large CSV files, a better approach is to split the source file before import. In such scenario, it's recommended using SysTools CSV Splitter tool can divide a large CSV into multiple smaller files while maintaining data integrity, column headers, and record structure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This helps improve processing efficiency, reduces memory consumption, and simplifies large-scale dataset imports in PowerShell environments. You can check it on App Store or Marketplace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this helpful? Give me a thumbs up as an appreciation.&lt;/P&gt;&lt;P&gt;Thanks @leo&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2026 09:32:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-import-large-csv-to-dataset-using-powershell/m-p/5186063#M65121</guid>
      <dc:creator>Techinmay</dc:creator>
      <dc:date>2026-05-20T09:32:47Z</dc:date>
    </item>
  </channel>
</rss>

