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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

User selected value as Parameters to Web API

I have a requirement where the user can select a value from a slicer in Power BI report and it needs to be passed as query parameter string to a web API call from Power Query.

 

Right now , I can make API calls by harcoding the query parameter string and I am able to see the expected results.
I can capture the value selected by the user in the slicer.However I cannot pass this value to Power Query

 

Please let me know how this can be achieved?

4 REPLIES 4
Syndicate_Admin
Administrator
Administrator

I have the same requirement and keep hitting brick walls.  Is there any kind of work around to this that you have identified?

lbendlin
Super User
Super User

Only possible in Direct Query mode. Confirm your storage mode.

Anonymous
Not applicable

Hi @lbendlin ,

Thanks for your reply.

Currently storage mode is import.

 

The below link seems to suggest that  DirectQuery is not supported when data source is web

Power BI data sources - Power BI | Microsoft Docs

Or  it is possible to change storage mode to DirectQuery when the data sourse is Web API?

 

If so, how can I change storage mode to DirectQuery?

 

Many thanks

No, i think you have hit a dead end with this requirement. Cannot be done in Power BI.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.