Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
JWS
New Member

export results of SQL query from a fabric warehouse to a flat file on a SharePoint documents library

Hi,

 

New here. My apologies in advance.

 

I would like to have a triggered event, for simplicity let's say every hour, I would like the contents of a specific table that exists in My Workspace in Fabric in a Data Warehouse to be exported to a .csv file in a SharePoint documents library.

 

I have tried to search for an answer to this, but, google queries and even asking Copilot this, possibly simple question, yields no useful results. Asking Copilot leads to it halucinating a menu tree in power automate where I should create a Sink to export my data.

 

Every search leads to all of the Fabric documentation about ingesting data from SharePoint into Fabric, but there does not appear to be any microsoft authored content that I can find about how to get the data OUT.

 

Any assist would be appreciated.

Thanks!

1 REPLY 1
lbendlin
Super User
Super User

In Power Automate

- create a scheduled flow

- run a DAX query against a dataset (you get that automatically in the data warehouse)

- create a CSV table from the "First Table Rows"

- save the CSV to the SharePoint Document library.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.