Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
27 | |
27 | |
25 | |
13 | |
10 |
User | Count |
---|---|
24 | |
19 | |
16 | |
13 | |
10 |