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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
oconorj_86
Frequent Visitor

Filtering data on import from ElasticSearch

Hi,

 

For a new project we are trying to pull data from ElasticSearch into Power Bi. The import is going very slow (I believe thanks to the VPN) and after a couple of hours we get a time-out error (roughly when we het 10M+ records)

 

As the table in ElasticSearch is holding roughly 18M records I was thinking of filtering out the records older than 6 months from this table as I don't see myself spending hours every week refreshing the datasource. As you can see me coming .. wondering if there is a way to connect to ElasticSearch via the ODBC and filter before we start importing like we can do with a SQL statement.

 

Any suggestion welcome here 🙂

1 ACCEPTED SOLUTION
v-chenwuz-msft
Community Support
Community Support

Hi @oconorj_86 ,

 

Can you try to use advanced options when you use the ODBC connector.

vchenwuzmsft_0-1653630326573.png

 

Or check out this article to see if it's helpful to you.

Connect Elasticsearch to Power BI: An Easy Guide 

 

Best Regards

Community Support Team _ chenwu zhu

 

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

View solution in original post

2 REPLIES 2
v-chenwuz-msft
Community Support
Community Support

Hi @oconorj_86 ,

 

Can you try to use advanced options when you use the ODBC connector.

vchenwuzmsft_0-1653630326573.png

 

Or check out this article to see if it's helpful to you.

Connect Elasticsearch to Power BI: An Easy Guide 

 

Best Regards

Community Support Team _ chenwu zhu

 

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

Hi,

 

I tried this a week or so ago and kept giving me errors as the ElasticSearch didn't accept the SQL language.
I mentioned this to the tech team and they looked into this. looks like they needed to do something their end to accept the SQL query. Fast forward to this morning and I was able to filter the data when importing 🙂

 

Marked this as the solution. If people get same error as me, get in contact with the ElasticSearch team in your company and ask them to enable the SQL Query DSL.

 

Thanks 🙂

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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