Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
There is a function called GetDataRequest() which has 3 parameters and the response function name is GetDataResponse() which returns the resultset in a webservice(https URL). So, I need to call the function GetDataRequest() from PowerBI and provide those 3 parameters , and use GetDataResponse() for resultset in POWERBI. I have tried multiple ways but failed. Is there any way that we can do or its not possible?
In SSRS , I use xml tags to call like below:
<Query> <Method Name="GetDataRequest" Namespace="http://tempuri.org/"> <Parameters> <Parameter Name="Id"><DefaultValue>1</DefaultValue></Parameter> </Parameters> </Method> <SoapAction>http://tempuri.org/IWebService/GetDataRequest</SoapAction> <ElementPath IgnoreNamespaces="true">GetDataRequestResponse{}/GetDataRequestResult{ ID, Content, ContentChange, ContentHint } </ElementPath> </Query>
I tried the same way, still its not working. Can somebody please help?
Hi @SwagatikaBehera ,
You can follow the detailed steps in https://www.kizan.com/blog/consuming-xml-web-service-data-in-power-bi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
Hi @SwagatikaBehera ,
You can create these three parameters in power bi by following steps in https://www.red-gate.com/simple-talk/sql/bi/power-bi-introduction-working-with-parameters-in-power-b...
And use these three parameters when you get data from the api:
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
Hi,
Thanks for your reply. Can you please show me a screenshot where to put the function name? Should be the name as a part of URL?
@SwagatikaBehera , refer if these can help
https://www.thebiccountant.com/2017/03/22/use-slicers-for-query-parameters-in-powerbi/
This example explains when sql server is a datasource. But I am struggling with calling a webservice with parameterized request function and returns the data from another response function.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |