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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Ana-Maria
Regular Visitor

Export to xlsx or csv 12.000.000 rows split in files that will have only 10.000 rows

Hello,

 

I have a table in Power BI with a little over 12 million rows. I need to export this table into excel/csv files, and each to have  maximum 10.000 rows.

How can I condition this ...with power apps ?

 

Thank you,

Ana

 

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi. I think it might be important if you can explain why this is important or what you want to acomplish with that. Because it's not very straight forward or make sense as a data architecture perspective.

You have integrated 12 million rows at power bi and now you want to split it by 10k rows files. I think it might be tricky but possible. I would probably add a new column at the power query data model that writes a number for each 10k rows. That way you can filter by that column 10k rows.

Then using the power bi rest API you can check how many samples of 10k rows are and loop it executing a dax query to the model that filters by the new column.

https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/execute-queries-in-group

I hope that make sense. 


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

2 REPLIES 2
ibarrau
Super User
Super User

Hi. I think it might be important if you can explain why this is important or what you want to acomplish with that. Because it's not very straight forward or make sense as a data architecture perspective.

You have integrated 12 million rows at power bi and now you want to split it by 10k rows files. I think it might be tricky but possible. I would probably add a new column at the power query data model that writes a number for each 10k rows. That way you can filter by that column 10k rows.

Then using the power bi rest API you can check how many samples of 10k rows are and loop it executing a dax query to the model that filters by the new column.

https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/execute-queries-in-group

I hope that make sense. 


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Hi, I needed to upload this data in an internal app (at work). The problem is that the internal app has a restriction and I am allowed to upload excels only with maximum 10.000 rows.
In the end, I added an Index column and downloaded manually each time excels of 10.000 rows.

So the issue is solved, but if another solution exists, that would be good to know.

AnaMaria_0-1718290008004.png

 

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors