Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi all,
I have a web request hitting a Elasticsearch API which returns data in JSON.
Elasticsearch allows a search API with which you can perform a text search and that filters the json repornse(note this text search is on all the data not just one field or column from a table)
What I am looking for is a dynamic way to update the API request body by the report user. Meaning an open text field for users where they can enter what they want. Now that text should be added to the Web requests in M query and update the data completely. Is that possible? If so please advise how I can acheive this.
I've looked into dynamic M query and unfortunately its limited to DirectQueries. Also Is there a way to implement directquery on web requests?
Solved! Go to Solution.
Hi @kicha ,
You can refer to the following documents that may be helpful to you:
Dynamic M query parameters in Power BI Desktop - Power BI | Microsoft Learn
Call Rest APIs from Power BI / Power Query – Power Automate Training (powerplatformtrainings.com)
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @kicha ,
You can refer to the following documents that may be helpful to you:
Dynamic M query parameters in Power BI Desktop - Power BI | Microsoft Learn
Call Rest APIs from Power BI / Power Query – Power Automate Training (powerplatformtrainings.com)
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @kicha ,
Regarding your question about implementing DirectQuery on web requests, Power BI's DirectQuery does not natively support web requests. DirectQuery is intended for use with database connections that support real-time querying. For web data sources, you typically have to import the data into Power BI and set up a refresh schedule.
If you would like to suggest feature improvements, you may vote the idea and comment here to improve this feature. It is a place for customers provide feedback about Microsoft Office products . What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you for your response on the direct query.
Could you please let me know if there is a way to implement the first part of my question?
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 79 | |
| 48 | |
| 35 | |
| 31 | |
| 27 |