<?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: Can PowerQuery write data back out? in Power Query</title>
    <link>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/1291#M366</link>
    <description>&lt;P&gt;No.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Easiest/quickest way is to go into your PowerPivot model, select the table, Ctrl-A, Ctrl-C. Open new Excel file, Ctrl-V, save as CSV&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jul 2015 17:30:36 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2015-07-28T17:30:36Z</dc:date>
    <item>
      <title>Can PowerQuery write data back out?</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/1288#M365</link>
      <description>&lt;P&gt;&lt;SPAN&gt;So I know that PowerQuery is great for consuming and transforming data, but are there any export options? If not, what's the least klugey way to get&amp;nbsp;data out of a BI model and into SQL tables, or a CSV?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2015 17:14:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/1288#M365</guid>
      <dc:creator>hendustu</dc:creator>
      <dc:date>2015-07-28T17:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can PowerQuery write data back out?</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/1291#M366</link>
      <description>&lt;P&gt;No.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Easiest/quickest way is to go into your PowerPivot model, select the table, Ctrl-A, Ctrl-C. Open new Excel file, Ctrl-V, save as CSV&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2015 17:30:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/1291#M366</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2015-07-28T17:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can PowerQuery write data back out?</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/1632#M468</link>
      <description>&lt;P&gt;Yeah, it's just that we're often dealing with very, very large datasets.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's no way to pull a data model into access is there? I'd say that we could take our workbook and pull it into Tabular Services, but I don't think on-prem SQL Server can refersh Power Query.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2015 14:15:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/1632#M468</guid>
      <dc:creator>hendustu</dc:creator>
      <dc:date>2015-07-30T14:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can PowerQuery write data back out?</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/1747#M487</link>
      <description>&lt;P&gt;Consider making a feature request on the "Give Feedback" site.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2015 14:38:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/1747#M487</guid>
      <dc:creator>curth</dc:creator>
      <dc:date>2015-07-31T14:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can PowerQuery write data back out?</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/1753#M488</link>
      <description>&lt;P&gt;Thanks! If it gets approval, you can find it here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.powerbi.com/forums/265200-power-bi/suggestions/9111658-allow-power-query-to-export-data" target="_blank"&gt;https://support.powerbi.com/forums/265200-power-bi/suggestions/9111658-allow-power-query-to-export-data&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2015 15:08:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/1753#M488</guid>
      <dc:creator>hendustu</dc:creator>
      <dc:date>2015-07-31T15:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can PowerQuery write data back out?</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/1766#M491</link>
      <description>You can use powerpivot in excel &amp;amp; vba..check this blog post from Kasper de Jonge &lt;A href="http://www.powerpivotblog.nl/export-a-table-or-dax-query-from-power-pivot-to-csv-using-vba/" target="_blank"&gt;http://www.powerpivotblog.nl/export-a-table-or-dax-query-from-power-pivot-to-csv-using-vba/&lt;/A&gt;</description>
      <pubDate>Fri, 31 Jul 2015 18:26:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/1766#M491</guid>
      <dc:creator>konstantinos</dc:creator>
      <dc:date>2015-07-31T18:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can PowerQuery write data back out?</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/13285#M2196</link>
      <description>&lt;P&gt;Another option:&lt;/P&gt;&lt;P&gt;With the December update you can use the workaround via R to export your data from Power BI to txt or SQL-server: &lt;A href="http://www.thebiccountant.com/2015/12/28/how-to-export-data-from-power-bi-and-power-query/" target="_blank"&gt;http://www.thebiccountant.com/2015/12/28/how-to-export-data-from-power-bi-and-power-query/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2015 19:44:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/13285#M2196</guid>
      <dc:creator>ImkeF</dc:creator>
      <dc:date>2015-12-28T19:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can PowerQuery write data back out?</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/48845#M4330</link>
      <description>&lt;P&gt;You can use SSIS to connect to Power BI desktop and use SSIS to export the data to wherever you like.&lt;/P&gt;&lt;P&gt;The method described here:&amp;nbsp;&lt;A href="http://biinsight.com/connect-to-power-bi-desktop-model-from-excel-and-ssms/" target="_blank"&gt;http://biinsight.com/connect-to-power-bi-desktop-model-from-excel-and-ssms/&lt;/A&gt; can be used as well to connect from SSIS.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 18:41:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/48845#M4330</guid>
      <dc:creator>fbeekvel</dc:creator>
      <dc:date>2016-07-08T18:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can PowerQuery write data back out?</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/107857#M7409</link>
      <description>&lt;P&gt;another option that does not require any third party is to use powershell, i tried the vba approach and it does not work with large data, R works very well, but in some environement it may not be available&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the script is &lt;A href="https://github.com/djouallah/PowerBI_Desktop_Export_CSV" target="_blank"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 31 Dec 2016 07:01:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/107857#M7409</guid>
      <dc:creator>mim</dc:creator>
      <dc:date>2016-12-31T07:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can PowerQuery write data back out?</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/107863#M7410</link>
      <description>&lt;P&gt;This is brilliant mim !!!&lt;/P&gt;&lt;P&gt;Re size-limitations: Change the export-format to txt (instead&amp;nbsp;of csv) and these size-limits are gone :-)&lt;/P&gt;&lt;P&gt;Thx a ton!&lt;/P&gt;</description>
      <pubDate>Sat, 31 Dec 2016 07:50:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/107863#M7410</guid>
      <dc:creator>ImkeF</dc:creator>
      <dc:date>2016-12-31T07:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can PowerQuery write data back out?</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/163462#M9738</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;now you can right click on the table, Select copy table, and then you can past directly in Excel spreadsheet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mohamed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 09:47:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/163462#M9738</guid>
      <dc:creator>Moh_ali_square</dc:creator>
      <dc:date>2017-04-24T09:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can PowerQuery write data back out?</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/231360#M12266</link>
      <description>&lt;P&gt;You can also add an R script step in the query editor that writes the data set to a csv.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Transform and load your data with Power BI, M and R | Anthony Bulk | Pulse | LinkedIn&lt;!--   [if lte IE 8]&amp;amp;gt;
  &amp;amp;lt;link rel=&amp;amp;quot;shortcut icon&amp;amp;quot; href=&amp;amp;quot;https://static.licdn.com/scds/common/u/images/logos/favicons/v1/16x16/favicon.ico&amp;amp;quot;&amp;amp;gt;
&amp;amp;lt;![endif]  --&gt;&lt;!--   [if IE 9]&amp;amp;gt;
  &amp;amp;lt;link rel=&amp;amp;quot;shortcut icon&amp;amp;quot; href=&amp;amp;quot;https://static.licdn.com/scds/common/u/images/logos/favicons/v1/favicon.ico&amp;amp;quot;&amp;amp;gt;
&amp;amp;lt;![endif]  --&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class="ssr-wrapper"&gt;&lt;DIV class="prose"&gt;&lt;PRE&gt;&lt;SPAN class="hljs-comment"&gt;# 'dataset' holds the input data for this script&lt;/SPAN&gt;
&lt;SPAN class="hljs-comment"&gt;# set the working directory to the location in which you want the transformed CSV saved &lt;/SPAN&gt;
setwd(&lt;SPAN class="hljs-string"&gt;"C:/temp"&lt;/SPAN&gt;)
&lt;SPAN class="hljs-comment"&gt;# write out the transformed data set &lt;/SPAN&gt;
write.table(dataset, file=&lt;SPAN class="hljs-string"&gt;"transformed_data.csv"&lt;/SPAN&gt;, sep = &lt;SPAN class="hljs-string"&gt;","&lt;/SPAN&gt;, row.names = &lt;SPAN class="hljs-keyword"&gt;FALSE&lt;/SPAN&gt;)
&lt;SPAN class="hljs-comment"&gt;# put the data set into a data frame so that you can continue to work with it. &lt;/SPAN&gt;
&lt;SPAN class="hljs-comment"&gt;# I did an extra transformation and then built a report off of it&lt;/SPAN&gt;
df1 &amp;lt;- data.frame(dataset)&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 15 Aug 2017 05:44:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/231360#M12266</guid>
      <dc:creator>jbulk</dc:creator>
      <dc:date>2017-08-15T05:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can PowerQuery write data back out?</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/246369#M12727</link>
      <description>&lt;P&gt;Hi Antony,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for R script, it helped me a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to add current date to these script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, when I refresh, it will automatically save the date with the day in the title like "transformed_data-06/09/2017.csv".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gozde&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 07:21:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/246369#M12727</guid>
      <dc:creator>Gozde</dc:creator>
      <dc:date>2017-09-06T07:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can PowerQuery write data back out?</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/246841#M12749</link>
      <description>&lt;P&gt;I would simply add it to the dataset itself: Add a custom column with: DateTime.LocalNow()&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 17:56:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/246841#M12749</guid>
      <dc:creator>ImkeF</dc:creator>
      <dc:date>2017-09-06T17:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can PowerQuery write data back out?</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/357628#M15657</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using R to export data out does seem to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But here is a step by step approach for those who are not familiar with R (myself).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Down load and install R ( probably need admin rights).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To install a MIcrosoft owned version of R&amp;nbsp;click&amp;nbsp;&lt;A href="https://mran.revolutionanalytics.com/download" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;download&amp;nbsp;&lt;/P&gt;&lt;P&gt;Download the windows version ( will only work with 64 bit power bi).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternative, info on getting R&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In power bi set up R, FIle -&amp;gt; options and settings -&amp;gt; options -&amp;gt; R scripting&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Click on the &lt;STRONG&gt;How to install R link&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) In power bi set up R, choose menu in power bi FIle -&amp;gt; options and settings -&amp;gt; options -&amp;gt; R scripting&lt;/P&gt;&lt;P&gt;set your home R directory to eg. depending on your version browse to&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\Program Files\Microsoft\R Open\R-3.4.3&lt;/P&gt;&lt;P&gt;&amp;nbsp;also as shown &lt;A href="https://docs.microsoft.com/en-us/power-bi/desktop-r-ide" target="_self"&gt;here&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Select a table you want to write to file in the query editor.&lt;/P&gt;&lt;P&gt;4) Select all column change to text ( optional step). to prevent type conversion errors.&lt;/P&gt;&lt;P&gt;5) Transform -&amp;gt; Run R Script ( if this is greyed out) step 2 failed.&lt;/P&gt;&lt;P&gt;6) Paste in this code.&amp;nbsp; As supplied by jbulk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;# 'dataset' holds the input data for this script
# set the working directory to the location in which you want the transformed CSV saved 
setwd("C:/temp")
# write out the transformed data set 
write.table(dataset, file="transformed_data.csv", sep = ",", row.names = FALSE)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;7) press Ok, try for a small table . There is&amp;nbsp;1800000 millisec timeout 30 minutes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;I was able to export a table of 2 million rows to CSV.&lt;/P&gt;&lt;P&gt;8)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check row counts.&amp;nbsp;Open exported file in power bi, , Transform -&amp;gt; count row in query editor with your original table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 05:10:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/357628#M15657</guid>
      <dc:creator>ozmike</dc:creator>
      <dc:date>2018-02-14T05:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can PowerQuery write data back out?</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/652865#M22406</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="649" data-lia-user-login="hendustu" class="lia-mention lia-mention-user"&gt;hendustu&lt;/a&gt;&amp;nbsp; the Excel Add-on in&amp;nbsp;&amp;nbsp;&lt;A href="https://www.acterys.com" target="_self"&gt;https://www.acterys.com&lt;/A&gt; has a feature to load result sets from Power Query in relational tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2019 10:19:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Can-PowerQuery-write-data-back-out/m-p/652865#M22406</guid>
      <dc:creator>karaoan</dc:creator>
      <dc:date>2019-03-25T10:19:19Z</dc:date>
    </item>
  </channel>
</rss>

