This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
Hi Team,
I am new to Power BI kindly help how to connect to API to start the data extraction and data model.
Regards
GR
Hi!
What kind of API do you need to connect to?
Need to coonect to Json API with input parameteres
Hi!
Go to Query Editor, choose "New Source" -> "Blank Query". Enter your url to your json something like this:
= Json.Document(Web.Contents("https://yourjsonurl.com/parameter"))
Then you need to click List and transform into table, select what fields you want. Finally rename Query1 to something else.
url: https://MyDomain.com/REST/MyURL
Input Parameter:
{ "ServiceName":"GetTicket", "objCommonParameters":{ "_ProxyDetails":{ "Password":"test@123", "UserName":"[email protected]", "ProxyID":0, "ReturnType":"JSON", "OrgID":1 }, "CallerMobileNo":"91XXXXXXXX", "CallerID":"2", "TopIncident":5 } }
how to execute and connect to api
This link might help you:
https://www.mssqltips.com/sqlservertip/4621/using-power-bi-with-json-data-sources-and-files/
url: https://MyUrl/REST/mylink
input parameter:
{ "ServiceName":"GETTicket", "objCommonParameters":{ "_ProxyDetails":{ "Password":"test@123", "UserName":"[email protected]", "ProxyID":0, "ReturnType":"JSON", "OrgID":1 }, "CallerMobileNo":"91XXXXXXXX", "CallerID":"2", "TopIncident":5 } }
how do i execute this code. can any1 plz help on this
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 31 | |
| 26 | |
| 23 | |
| 20 | |
| 20 |