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
RobHess05
Helper I
Helper I

What's the best way to capture data from multiple identical API endpoints into a single dataset?

I created my own custom connector based off of the Microsoft TripPin tutorial:  https://docs.microsoft.com/en-us/power-query/samples/trippin/1-odata/readme

In their example, they are reading data from a single endpoint:  https://services.odata.org/v4/TripPinService/Me

In my example, I have an endpoint that is structured identically to theirs, but has separate credentials and unique data:  https://mycustomservice.odata.org/myTrippinService/

 

If I get the data in the Power BI app from both endpoints, then I'm creating a duplicate set of tables for every new endpoint.  Is it possible to create a view that dynamically joins all of these tables into a single view? (Simalar to a SQL join when creating a view)

 

Is it better to adjust the custom connector to accept multiple endpoints & credentials, then programmatically stitch it together with code?

 

I'm not sure if either approach is possible, so I'm just looking for best practices from the community.  Thanks for reading.

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @RobHess05,

I'd like to suggest you parameterize your connection string to create a template report, then your users can use it or generate their own report based on connection strings.

Deep Dive into Query Parameters and Power BI Templates | Microsoft Power BI Blog | Microsoft Power B...

Using the Power BI Service Parameters to change connection strings (To possibly change between Dev 

Regards.

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

HI @RobHess05,

I'd like to suggest you parameterize your connection string to create a template report, then your users can use it or generate their own report based on connection strings.

Deep Dive into Query Parameters and Power BI Templates | Microsoft Power BI Blog | Microsoft Power B...

Using the Power BI Service Parameters to change connection strings (To possibly change between Dev 

Regards.

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

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.