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 September 15. Request your voucher.

Reply
NielsT
Frequent Visitor

Best practice to load data from ElasticSearch to PowerBI

I'm trying to get data out of ElasticSearch and into PowerBI. What is the best practice to extract data?

I have already tried the script below but this gives a time out error. I think the table is loaded first, before the filter is applied (Number of rows). It's a table with a lot of rows.

 

let
Source = Json.Document(Web.Contents("https://dashboard.xxxxx.com/api/search/lwqanda")),
#"Converted to Table" = Table.FromList(Source, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
#"Expanded Column1" = Table.ExpandRecordColumn(#"Converted to Table", "Column1", {"QandAID", "ActionID", "QuestionID", "AnswerID", "Description", "Hyperlink"}, {"QandAID", "ActionID", "QuestionID", "AnswerID", "Description", "Hyperlink"}),
#"Kept Last Rows" = Table.LastN(#"Expanded Column1", NumberOfRows)
in
#"Kept Last Rows"

 

NielsT_0-1647263455236.png

 

Table

NielsT_1-1647263659841.png

* There is no date/time field in the table.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @NielsT ,

 

1. You could try to firstly keep the Top100 rows before covert to table or expand.

2. Please specify timeout interval in Advanced Editor manually, for example

Eyelyn9_0-1647482968451.png

 

Best Regards,
Eyelyn Qin
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

1 REPLY 1
Anonymous
Not applicable

Hi @NielsT ,

 

1. You could try to firstly keep the Top100 rows before covert to table or expand.

2. Please specify timeout interval in Advanced Editor manually, for example

Eyelyn9_0-1647482968451.png

 

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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors