Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Sowmiya
Helper III
Helper III

Connecting Power BI with API

Hi,

Am new to Power BI, Here in my case I am having my own API key, I have searched lots of methods but it gets failure. Please guide/instruct me how to connect Power BI with API, step by step process from beginning.

1 ACCEPTED SOLUTION

Hi @Sowmiya,

 

In this case please try an approach from this link.

 

Regards,
Ruslan
-------------------------------------------------------------------
Did I answer your question? Mark my post as a solution!

View solution in original post

6 REPLIES 6
jshirley
Frequent Visitor

Where would you put in the data from the link that you are suggesting @zoloturu?

zoloturu
Memorable Member
Memorable Member

Hi @Sowmiya,

 

Please post a link to the documentation of that API method here (type of http request, link, headers, body etc.)

 

Regards,
Ruslan

Hi Ruslan,

I am new to API Connection with Power BI. Here is the Documentation Link - http://www.datamedia.org//. I have an API Key but I don't know how to generate Session Key and how to request Data.

 

Regards,

Sowmiya

Hi @Sowmiya,

 

Please try below approach:

 

1. Go to Get Data -> From Web and enter https://server/GetSessionToken (replace server with actual server name). Press OK.

api 1api 1

 

2.  You will see a window with authorization types, choose Web API

3.  Enter your API Key into the text field and select full HTTP request from a dropdown list like below:

 

api 2api 2

4. Press Connect.

 

P.S. If you will have errors you can post them here as well.

 

Regards,
Ruslan
-------------------------------------------------------------------
Did I answer your question? Mark my post as a solution!

Hi Ruslan,

I tried as per your guidance. But i am getting an error. Hereby I am attaching the screenshot of the error message. Can you help me in solving the error?Error.png

 

Hi @Sowmiya,

 

In this case please try an approach from this link.

 

Regards,
Ruslan
-------------------------------------------------------------------
Did I answer your question? Mark my post as a solution!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.