# Returning more than 10000 records in Power BI

**URL:** https://discuss.elastic.co/t/returning-more-than-10000-records-in-power-bi/99371
**Category:** Elasticsearch
**Created:** [September 5, 2017, 5:49am UTC](https://discuss.elastic.co/t/returning-more-than-10000-records-in-power-bi/99371 "2017-09-05T05:49:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![adam.burgess](https://avatars.discourse-cdn.com/v4/letter/a/59ef9b/32.png) [@adam.burgess](https://discuss.elastic.co/u/adam.burgess)
#### Post date: [September 5, 2017, 5:49am UTC](https://discuss.elastic.co/t/returning-more-than-10000-records-in-power-bi/99371/1 "2017-09-05T05:49:23Z")

</div>

Hi There,

I have a requirement to use Power BI to query ES to create a model with ES and other data sources. My problem is that my data I need to return is currently about 14000 rows and slowly growing. I'm looking for advice on how to get around this by not hard coding a size of documents to returned.

Regards,  
Adam

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [September 5, 2017, 6:55am UTC](https://discuss.elastic.co/t/returning-more-than-10000-records-in-power-bi/99371/2 "2017-09-05T06:55:05Z")

</div>

You probably want to use the scroll feature: [https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-scroll.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-scroll.html)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [October 3, 2017, 6:55am UTC](https://discuss.elastic.co/t/returning-more-than-10000-records-in-power-bi/99371/3 "2017-10-03T06:55:18Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
