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

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.

Reply
kicha
Regular Visitor

How to add a Dynamic Parameter to WEB request which can be updated by end users?

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?

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

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. 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

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. 

Anonymous
Not applicable

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?

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.