Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I have a custom query with 100 columns in databricks and i need to run the query in power bi and export the entire dataset in excel . How can i automate it in power Bi using power automate. I need to save the files in sharepoint after running the query against the database everyday .
Thanks
Nishika
Hi @nish18_1990
Thank you for reaching out to the Microsoft Fabric Forum Community.
@123abc @Zanqueta Thanks for the inputs.
I hope the information provided by users was helpful. If you still have questions, please don't hesitate to reach out to the community.
Hi @nish18_1990
Hope everything’s going smoothly on your end. I wanted to check if the issue got sorted. if you have any other issues please reach community.
🔗 Guide: Schedule Power BI Data Exports with Power Automate – step-by-step flow building
→ https://www.thebricks.com/resources/guide-how-to-schedule-power-bi-data-exports-to-excel Bricks
🔗 Tutorial: Full Automatic Export Workflow – includes copy template, looping rows
→ https://www.thebricks.com/resources/guide-how-to-schedule-power-bi-data-exports-to-excel-using-ai Bricks
🔗 Microsoft Docs: Export paginated reports via Power Automate
→ https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-automate-paginated-integration Microsoft Learn
Video Tutorial (YouTube):
▶️ Automatic exports of Power BI data — exporting with Power Automate connector YouTub
Hi,
If you need to run a Databricks query every day and automatically export the full results into Excel, Power BI alone can’t do this job. Power BI can refresh data, but it can’t export entire datasets on a schedule, especially when you have many columns or rows. That’s why the automation should be handled directly through Power Automate, which can connect to Databricks, run your SQL query, and then generate the Excel file without limitations.
Export Limitation: Power BI only exports what’s visible in a visual or table (and usually capped at 150,000 rows or fewer).
Scheduled Refresh: Refresh updates the dataset but does not export files.
Power BI REST API: It can retrieve reports or visuals, but not full datasets with 100 columns.
So, if your goal is daily full dataset export to Excel and save to SharePoint, Power BI is not the right tool for the export part.
Hi @nish18_1990
If this response was helpful in any way, I’d gladly accept a 👍much like the joy of seeing a DAX measure work first time without needing another FILTER.
Please mark it as the correct solution. It helps other community members find their way faster (and saves them from another endless loop 🌀.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 7 | |
| 4 | |
| 3 | |
| 3 |