This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi Friends, I am trying to pull a data from web using API (Basic Authentication). URL is
https://qualysapi.qualys.eu/api/2.0/fo/asset/host/vm/detection/?action=list
I am able to fetch the data successfully without issues. But now i want to include parameters in this url to pull specific data example with Status = New and Closed.
I tried like https://qualysapi.qualys.eu/api/2.0/fo/asset/host/vm/detection/?action=list&status=New,Closed which is suggested by the application but I am getting the below error. Am I passing the conditions correctly. Or should I pass the conditions differently in Power BI?
Solved! Go to Solution.
@Anonymous have you tried looking into below links
https://msdynamicsworld.com/story/use-parameters-and-custom-functions-call-apis-power-bi
https://www.reddit.com/r/PowerBI/comments/9huan0/dynamic_api_parameters_in_power_bi/
Proud to be a Super User!
@Anonymous have you tried looking into below links
https://msdynamicsworld.com/story/use-parameters-and-custom-functions-call-apis-power-bi
https://www.reddit.com/r/PowerBI/comments/9huan0/dynamic_api_parameters_in_power_bi/
Proud to be a Super User!
Thanks for replying. I can use parameters but what is want to know is I am using &status=New,Closed in the URL while calling it from Power BI. is this correct ? or should I type it like &status={New,Closed} or something different ?
If I am specifying the conditions straight away in the URL. will it normally works in Power BI ?
https://qualysapi.qualys.eu/api/2.0/fo/asset/host/vm/detection/?action=list&status=New,Closed
Hi @Anonymous ,
Please try to update the address link as below and check whether it can get work:
| https://qualysapi.qualys.eu/api/2.0/fo/asset/host/vm/detection/?action=list&status in ('New', 'Closed') |
In addition, please review the content in the following link, hope it can help you.
THE HIDDEN GEMS OF THE FUNCTION WEB.CONTENTS()
Best Regards
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 33 | |
| 29 | |
| 29 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 48 | |
| 33 | |
| 24 | |
| 24 |