<?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: save data in excel in Dataflow</title>
    <link>https://community.fabric.microsoft.com/t5/Dataflow/save-data-in-excel/m-p/3947058#M3032</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;I am adding the code snippet here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;import pandas as pd
df = spark.sql("SELECT * FROM lakehouse_1.customers_1000")
df1= df.toPandas()
df1.to_excel('abfss://Fabric_new_04@msit-onelake.dfs.fabric.microsoft.com/lakehouse_1.Lakehouse/Files/sample.xlsx')&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;P&gt;&lt;BR /&gt;Just replace with the abfss path of your lakehouse files folder.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Fri, 24 May 2024 10:48:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-05-24T10:48:07Z</dc:date>
    <item>
      <title>save data in excel</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/save-data-in-excel/m-p/3946615#M3029</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;in fabric dataflow, after some transformations, I have got the data.&lt;/P&gt;&lt;P&gt;Now I would like to save this data as excel.&lt;/P&gt;&lt;P&gt;How do I do this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 09:22:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/save-data-in-excel/m-p/3946615#M3029</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-24T09:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: save data in excel</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/save-data-in-excel/m-p/3946996#M3030</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;Thanks for using Fabric Community.&lt;BR /&gt;Unfortunately, Fabric Dataflow (Gen2) itself doesn't have a built-in functionality to directly save the transformed data as an Excel file. However, you can achieve this by integrating Dataflow with Notebooks:&lt;BR /&gt;&lt;BR /&gt;1) Give the destination as lakehouse in Dataflow Gen2 and publish the Dataflow . This will create a new table in your lakehouse.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;2) Create a new notebook and run the below code:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;3) The excel file will be created in Lakehouse files section.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;4) You can also download this file into your local desktop using Onelake explorer.&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/onelake/onelake-file-explorer" target="_blank" rel="noopener"&gt;Access Fabric data locally with OneLake file explorer - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;5) Download the latest version of Onelake explorer and sync the Lakehouse.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Hope this helps. Please let me know if you have any further questions.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 10:32:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/save-data-in-excel/m-p/3946996#M3030</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-24T10:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: save data in excel</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/save-data-in-excel/m-p/3947023#M3031</link>
      <description>&lt;P&gt;can you please send the pyspark equivalent to your notebook code?&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 10:37:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/save-data-in-excel/m-p/3947023#M3031</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-24T10:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: save data in excel</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/save-data-in-excel/m-p/3947058#M3032</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;I am adding the code snippet here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;import pandas as pd
df = spark.sql("SELECT * FROM lakehouse_1.customers_1000")
df1= df.toPandas()
df1.to_excel('abfss://Fabric_new_04@msit-onelake.dfs.fabric.microsoft.com/lakehouse_1.Lakehouse/Files/sample.xlsx')&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;P&gt;&lt;BR /&gt;Just replace with the abfss path of your lakehouse files folder.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 24 May 2024 10:48:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/save-data-in-excel/m-p/3947058#M3032</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-24T10:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: save data in excel</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/save-data-in-excel/m-p/3950255#M3038</link>
      <description>&lt;P&gt;now that I can save the dataframe as .xlsx, how do I open the excel file which is now in the Files folder?&lt;/P&gt;&lt;P&gt;my goal is to eventually email this excel file to someone&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Sun, 26 May 2024 17:15:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/save-data-in-excel/m-p/3950255#M3038</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-26T17:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: save data in excel</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/save-data-in-excel/m-p/3951209#M3041</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;As specified above you can use Onelake explorer in your local machine to download the file. Then you can send it via email.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;You can also download this file into your local desktop using Onelake explorer.&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/onelake/onelake-file-explorer" target="_blank" rel="noopener nofollow noreferrer"&gt;Access Fabric data locally with OneLake file explorer - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Download the latest version of Onelake explorer and sync the Lakehouse.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps. Please let me know if you have any further questions.&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 07:21:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/save-data-in-excel/m-p/3951209#M3041</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-27T07:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: save data in excel</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/save-data-in-excel/m-p/3951266#M3042</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Glad that your query got resolved. Please continue using Fabric Community for any help regarding your queries.&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 07:31:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/save-data-in-excel/m-p/3951266#M3042</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-27T07:31:23Z</dc:date>
    </item>
  </channel>
</rss>

