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 August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Web API data source - unable to bind parameter to field for slicer

I see from the forum that a query must be a direct query in order to bind a parameter to a slicer.
In my case I'm using a set of Web API queries to retrieve data. There doesn't seem to be an option to declare a web api query as a direct query and therefore the bind option is not showing in the advanced properties.

I have one api query that retrieves a list of ID's. A second API query uses a parameter with a value for an ID field passed into the API to obtain a set of metrics.
I'd like users of my dashboard to populate the parameter in the second API call from a slicer but I am unable to find a way to bind the field of a table of ID's to the API parameter. 
Is there another approach to allow the slicer to pass the parameter to a Web API query?

2 REPLIES 2
Anonymous
Not applicable

Thank you for the reply to my question. Would you please explain what is meant by switching connection modes and how that may enable dynamic values in my API GET request from the dashboard?

Anonymous
Not applicable

Hi @Anonymous ,

 

As you describe, Power BI does not natively support setting Web API queries to DirectQuery. DirectQuery is typically used for relational databases and some specific data sources.
It may require you to switch connection modes and try again.


Best Regards,
Adamk Kong

 

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

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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