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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
POSPOS
Post Patron
Post Patron

Exporting Power BI Table visual as CSV to SharePoint Folder using Power Automate only gets 500 rows

Hi All,
I have a requirement to export one of the table in Power BI report as a CSV and upload into SharePoint folder. I have created the below flow, but the csv file only brings in 500 rows whereas the table visual in Power BI report has  50K rows. Can someone please let me know how to remove the limit?
POSPOS_1-1736962658221.png

 

Thank you
6 REPLIES 6
christinepayton
Super User
Super User

Most of the "get" actions in Power Automate use pagination, meaning they return the first 500 rows by default, then stop. If you want them to return more, go in the settings for the step that gets the data and enable pagination, then set the threshold to above the maximum number of rows you expect to need to get. 

@christinepayton  - Thank you for your response. I have not used Get actions in my flow and I do not fine a step which as "Pagination" in my flow. Can you please provide details of which step I should be changing from my flow below.

POSPOS_0-1737033367338.png

 

How many columns are you querying? The limit on the "run a query against a dataset" is 1million values, with values = rows x columns. If you have a lot of columns, I would reduce the number. But also try running a length() expressionon the "run a query" output in a compose action to see how many rows the output has for that action specifically - that will tell you if you if the issue is that step or another step. 

@christinepayton  - The output has 21 columns in total and currently we have 46398 rows in Power BI.

vicky_
Super User
Super User

If you've just copied the code straight from the performance panel, remove the section at the end that starts with TOPN(501...) and update the evaluate part accordingly.

@vicky_  - thank you for your response. Yes, I was using the code directly from Performance analyser. I removed the TOP N  and now it brings 28k rows which is still not matching Power BI output which has 50k rows. Can you advise ?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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