Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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"
Table
* There is no date/time field in the table.
Solved! Go to Solution.
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
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.
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
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.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 5 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 26 | |
| 17 | |
| 13 | |
| 10 | |
| 10 |