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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Tangelo-tech
Helper I
Helper I

Power BI REST API

We are a data provider and have developed a web application that allows advertisers to view and download advertising data reports on platforms such as Google Ads and Meta. We will sell this application to multiple customers, and each customer can obtain their data reports by authorizing them to log in to the advertising platform through OAuth2.0. Each customer has their own data table containing their data stored on our server. Now, we want to use Power BI to provide some standard charts displayed based on customer data.

I created an automatic template application following the instructions in the Power BI documentation(Automated configuration of template application installation ). They only need to select "Install" and authenticate their data source to obtain visual charts corresponding to their own data.

Now I am encountering a problem where I have configured the parameters and am prompted with Data source not supported, as shown in the screenshot.

image (11).pngimage (12).png

What data source method should I choose to allow different customers to connect to their own dataset through parameters, similar to the screenshot below. Also, does this method require purchasing Power BI servers to store our data sources?

image (13).png

After completing these tasks, how to use the Power BI REST API to achieve my goals?

1 ACCEPTED SOLUTION

My Power BI reports are fed by multiple data sources. Some of these data sources are not accessible from the Azure cloud.

Some of these data sources seem to require a local gateway.  You either need to add that to your setup, or refactor your solution such that none of your data sources require a gateway.

View solution in original post

10 REPLIES 10
lbendlin
Super User
Super User

Do your data sources include Python or R scripts?

not included

Can you show a sanitized list of the report data sources?

iShot_2024-03-13_10.11.34.png

As shown in the screenshot above, this is an advertising data report from one of our clients on the Google Ads platform. Now I hope to use an API key to search for this customer's corresponding data table in our database. How to achieve it? Our database is MySQL.

There must be another data source, one that requires a local gateway.

Sorry, I don't know what to do. Can you describe the steps in more detail? For example, should I choose to connect to our web page and retrieve data from it? How to set up a gateway to identify each unique user and apply it to the Power BI template application?

Please validate or correct my assumptions

 

- You are using Power BI Embedded, App owns Data

- You are handling all user authentication and then passing that through to Power BI

- Your Power BI reports are fed by multiple data sources. Some of these data sources are not accessible from the Azure cloud.

Hi,lbendlin

Regarding the first point, I am not sure if it is using Power BI Embedded and App owns Data.

Let me first introduce the usage process of my users (who do not belong to our organization or my company, but belong to different enterprise users).

Firstly, they need to log in to the Power BI service and then obtain and install my template application in AppSource.When connecting to their own data, I need to use an API KEY to identify this unique user and find their data, and then push the data to Power BI for him to use.iShot_2024-03-15_14.53.25.pngI think you are right about the second and third points.

I am handling all user authentication and then passing that through to Power BI

My Power BI reports are fed by multiple data sources. Some of these data sources are not accessible from the Azure cloud.

My Power BI reports are fed by multiple data sources. Some of these data sources are not accessible from the Azure cloud.

Some of these data sources seem to require a local gateway.  You either need to add that to your setup, or refactor your solution such that none of your data sources require a gateway.

Thanks for providing the solution.Do you know how to set up an API gateway that acts as an intermediary between customer data and Power BI,such as API key.If you know, I hope you can provide me with more detailed steps. Thank you very much.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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