Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi,
I have one api and I need to access the data in power bi. From where I can start.
Details as per below
This is a GET request to an API. You can create a blank query in Power Query Editor, open its Advanced Editor then paste below code into it to replace anything there. Save the code and check whether it can return you the correct result.
let
url = "https://app.celoxis.com/psa/api/v2/tasks/123",
headers = [#"Content-Type" = "application/json", #"Authorization" = "bearer YourTokenHere"],
response = Web.Contents(url, [Headers = headers]),
jsonResponse = Json.Document(response)
in
jsonResponse
For the first time, you need to click "Edit Credentials" and select "Anonymous" type.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 9 | |
| 8 | |
| 7 | |
| 5 | |
| 5 |