<?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: Exporting the result of a SQL query on a lakehouse in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Exporting-the-result-of-a-SQL-query-on-a-lakehouse/m-p/4835983#M12529</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="719515" data-lia-user-login="pmscorca" class="lia-mention lia-mention-user"&gt;pmscorca&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1307272" data-lia-user-login="AntoineW" class="lia-mention lia-mention-user"&gt;AntoineW&lt;/a&gt;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="10288" data-lia-user-login="BhaveshPatel" class="lia-mention lia-mention-user"&gt;BhaveshPatel&lt;/a&gt;, for your insights.&lt;BR /&gt;The behavior you’re experiencing is expected. When you use “Open in Excel” from a Fabric SQL analytics endpoint, it creates a live query connection instead of a static dataset. The Excel file will look empty until you enable content and run the query.&lt;/P&gt;
&lt;P&gt;Below is the link for your reference:&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-warehouse/sql-query-editor#open-in-excel" target="_blank"&gt;Query Using the SQL Query Editor - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Fri, 26 Sep 2025 05:47:08 GMT</pubDate>
    <dc:creator>v-saisrao-msft</dc:creator>
    <dc:date>2025-09-26T05:47:08Z</dc:date>
    <item>
      <title>Exporting the result of a SQL query on a lakehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Exporting-the-result-of-a-SQL-query-on-a-lakehouse/m-p/4834369#M12497</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to query a lakehouse by the related SQL analytics endpoint and then exporting the resulting dataset in Excel or csv format.&lt;/P&gt;&lt;P&gt;I've tried to use the available Excel feature after the query execution but it downloads a file having a query connection and not the resulting dataset. I think that exporting the resulting data and not the query it is very useful!&amp;nbsp;I expected more from this Excel feature. Is it the right behaviour?&lt;/P&gt;&lt;P&gt;Does it exist another manner to query a lakehouse in SQL language, deliverying the resulting dataset in an automatic mode? Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2025 13:08:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Exporting-the-result-of-a-SQL-query-on-a-lakehouse/m-p/4834369#M12497</guid>
      <dc:creator>pmscorca</dc:creator>
      <dc:date>2025-09-24T13:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting the result of a SQL query on a lakehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Exporting-the-result-of-a-SQL-query-on-a-lakehouse/m-p/4834474#M12499</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="719515" data-lia-user-login="pmscorca" class="lia-mention lia-mention-user"&gt;pmscorca&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, unfortunately, this is currently expected behavior. When you use the “Export to Excel” feature from a SQL analytics endpoint in Fabric, the downloaded Excel file typically contains a live query connection, not the actual dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you want the actual result set exported instead of just the connection, here are some supported alternatives:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1)&amp;nbsp;Use a Notebook to Export to CSV or Parquet&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-&amp;nbsp;Write a Spark or SQL notebook that queries the lakehouse.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-&amp;nbsp;Save the result to lakehouse (OneLake) as a CSV or Parquet file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Once the file is there, you can easily open it with OneLake Explorer in Windows, which lets you interact with the CSV like any local file and even open it directly in Excel.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;&lt;SPAN&gt;Power BI Export&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- If your query powers a Power BI semantic model, you can use the Export Data option in a table visual to get CSV extracts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope it can help you !&amp;nbsp;&lt;BR /&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Antoine&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2025 14:54:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Exporting-the-result-of-a-SQL-query-on-a-lakehouse/m-p/4834474#M12499</guid>
      <dc:creator>AntoineW</dc:creator>
      <dc:date>2025-09-24T14:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting the result of a SQL query on a lakehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Exporting-the-result-of-a-SQL-query-on-a-lakehouse/m-p/4834711#M12500</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="719515" data-lia-user-login="pmscorca" class="lia-mention lia-mention-user"&gt;pmscorca&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can get the resulting dataset in CSV or Parquet. For&amp;nbsp; that, You need to set up Azure Storage Explorer and set the resulting dataset there by using CSV file using Apache Spark Dataframe. ( Python Dataframe )&lt;/P&gt;&lt;P&gt;# Unmanaged Tables in Apache Spark Dataframe ( Data + Metadata )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Apache Spark Dataframe ( Python )&lt;/P&gt;&lt;P&gt;df = pandas data frame&lt;/P&gt;&lt;P&gt;sdf = spark.createDataFrame(df)&lt;/P&gt;&lt;P&gt;display(df)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Use Delta lake&amp;nbsp;&lt;/P&gt;&lt;P&gt;sdf.write.format("delta").mode("overwrite").saveAsTable("YourTable")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2025 00:12:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Exporting-the-result-of-a-SQL-query-on-a-lakehouse/m-p/4834711#M12500</guid>
      <dc:creator>BhaveshPatel</dc:creator>
      <dc:date>2025-09-25T00:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting the result of a SQL query on a lakehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Exporting-the-result-of-a-SQL-query-on-a-lakehouse/m-p/4835450#M12515</link>
      <description>&lt;P&gt;Hi, thanks for your replies.&lt;/P&gt;&lt;P&gt;I think a simple solution for the business users like running a SQL query and the exporting to an Excel or CSV file (not parquet file!).&lt;/P&gt;&lt;P&gt;I don't remember that it is possible to expose the resulting dataset of a SQL query by using a Power BI table visual.&lt;/P&gt;&lt;P&gt;I think that the "Export to Excel” feature from a SQL analytics endpoint in Fabric is uncomplete: it's a pity!&lt;/P&gt;&lt;P&gt;A Fabric user already access to the Fabric environment: why should he access to the lakehouse again to get the resulting dataset from the exported Excel?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2025 13:05:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Exporting-the-result-of-a-SQL-query-on-a-lakehouse/m-p/4835450#M12515</guid>
      <dc:creator>pmscorca</dc:creator>
      <dc:date>2025-09-25T13:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting the result of a SQL query on a lakehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Exporting-the-result-of-a-SQL-query-on-a-lakehouse/m-p/4835983#M12529</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="719515" data-lia-user-login="pmscorca" class="lia-mention lia-mention-user"&gt;pmscorca&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1307272" data-lia-user-login="AntoineW" class="lia-mention lia-mention-user"&gt;AntoineW&lt;/a&gt;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="10288" data-lia-user-login="BhaveshPatel" class="lia-mention lia-mention-user"&gt;BhaveshPatel&lt;/a&gt;, for your insights.&lt;BR /&gt;The behavior you’re experiencing is expected. When you use “Open in Excel” from a Fabric SQL analytics endpoint, it creates a live query connection instead of a static dataset. The Excel file will look empty until you enable content and run the query.&lt;/P&gt;
&lt;P&gt;Below is the link for your reference:&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-warehouse/sql-query-editor#open-in-excel" target="_blank"&gt;Query Using the SQL Query Editor - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 05:47:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Exporting-the-result-of-a-SQL-query-on-a-lakehouse/m-p/4835983#M12529</guid>
      <dc:creator>v-saisrao-msft</dc:creator>
      <dc:date>2025-09-26T05:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting the result of a SQL query on a lakehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Exporting-the-result-of-a-SQL-query-on-a-lakehouse/m-p/4836563#M12543</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;whether the functionality is incomplete or new functionality needs to be implemented, the important thing is to meet the requirement of exporting the data resulting from a SQL query to Excel or CSV.&lt;BR /&gt;Please vote my idea&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/Fabric-Ideas/Exporting-to-Excel-the-resulting-dataset-of-a-SQL-query-on-a/idi-p/4835669" target="_self"&gt;Exporting to Excel the resulting dataset of a SQL query on a lakehouse&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 14:27:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Exporting-the-result-of-a-SQL-query-on-a-lakehouse/m-p/4836563#M12543</guid>
      <dc:creator>pmscorca</dc:creator>
      <dc:date>2025-09-26T14:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting the result of a SQL query on a lakehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Exporting-the-result-of-a-SQL-query-on-a-lakehouse/m-p/4837413#M12568</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="719515" data-lia-user-login="pmscorca" class="lia-mention lia-mention-user"&gt;pmscorca&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for sharing your idea and including the link. This will help other community members vote on it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 05:12:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Exporting-the-result-of-a-SQL-query-on-a-lakehouse/m-p/4837413#M12568</guid>
      <dc:creator>v-saisrao-msft</dc:creator>
      <dc:date>2025-09-29T05:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting the result of a SQL query on a lakehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Exporting-the-result-of-a-SQL-query-on-a-lakehouse/m-p/4837462#M12571</link>
      <description>&lt;P&gt;Well, please vote it. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 05:47:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Exporting-the-result-of-a-SQL-query-on-a-lakehouse/m-p/4837462#M12571</guid>
      <dc:creator>pmscorca</dc:creator>
      <dc:date>2025-09-29T05:47:02Z</dc:date>
    </item>
  </channel>
</rss>

