Skip to main content

Notifications

Community site session details

Community site session details

Session Id : kTtvIskS/W0zPufBIZwB9d
Power Automate - General Discussion
Unanswered

Export data from my Power BI dataset +1M rows to a CSV file on SharePoint with a Scheduled

Like (0) ShareShare
ReportReport
Posted on 17 Apr 2023 13:59:43 by

Hello, I'm trying to export data from my Power BI dataset to a CSV file on SharePoint. My Dataset contains over 1 million rows, and I've tried adding an 'index_' column using RANKX based on an ID column. However, when I export the data to a CSV file, I only get 2000 rows in the output. I need help with this issue. Can you please provide some guidance on how to export the full dataset to a CSV file on SharePoint? Thank you. @RPAForEveryone 

Categories:
  • Community Power Platform Member Profile Picture
    on 24 Apr 2023 at 12:25:15
    Re: Export data from my Power BI dataset +1M rows to a CSV file on SharePoint with a Scheduled

    this formula is just to calculate the number of loops needed !

     

  • lbendlin Profile Picture
    7,799 Super User 2025 Season 1 on 24 Apr 2023 at 11:53:59
    Re: Export data from my Power BI dataset +1M rows to a CSV file on SharePoint with a Scheduled

    This seems to be your culprit

     

    lbendlin_0-1682337226998.png

     

     

    Modify the bucketing formula.

  • Community Power Platform Member Profile Picture
    on 24 Apr 2023 at 10:47:14
    Re: Export data from my Power BI dataset +1M rows to a CSV file on SharePoint with a Scheduled

    Screenshot 2023-04-24 114330.pngScreenshot 2023-04-24 114534.pngCOM1.png

  • lbendlin Profile Picture
    7,799 Super User 2025 Season 1 on 18 Apr 2023 at 11:20:37
    Re: Export data from my Power BI dataset +1M rows to a CSV file on SharePoint with a Scheduled

    Show your flow steps if possible.

  • Community Power Platform Member Profile Picture
    on 18 Apr 2023 at 08:51:47
    Re: Export data from my Power BI dataset +1M rows to a CSV file on SharePoint with a Scheduled

    please how can I minimize the size of the CSV in the output?
    i try many of time but i got only 2000 rows, i have used DO UNTIL, but it still return only 2000 by csv!

  • lbendlin Profile Picture
    7,799 Super User 2025 Season 1 on 17 Apr 2023 at 23:11:32
    Re: Export data from my Power BI dataset +1M rows to a CSV file on SharePoint with a Scheduled

    That is a known limitation. 100K rows or 1M cells, whatever comes first.

     

    Do multiple exports and concatenate them. Note that CSV has a similar limitation. Maximum message size is 100 MB.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,670 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,013 Most Valuable Professional

Leaderboard
Loading started