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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Markzolotoy
Impactful Individual
Impactful Individual

Paginated report - get data from API

Is it possible to use web apis to get data into paginated reports? Something that was possible in SSRS reports using XML queries.

 

Thanks

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Not from there, but to there.  You use Power BI Desktop to declare the data source connections. Then you publish that pbix to the service where it becomes a dataset.  Then you can set up the scheduled refresh (if needed) and you can consume the dataset from the rdl.

View solution in original post

6 REPLIES 6
Markzolotoy
Impactful Individual
Impactful Individual

@lbendlin Here is the whole picture. I have a .NET process (API) that generates images on demand. Report places a request: http://computername/..../endpointname. The endpoint can return either a Base64 string or decoded memory stream. Works fine in Browsers. If specify external source for image with expression http://computername/..../endpointname the endpoint gets hit but instead of an image I get red x. That is in the Builder. Published report shows this:

Unable to load image and no technical details available.

lbendlin
Super User
Super User

"it" - being the dataset?  That's standard Power Query functionality.  Where are you stuck?

Markzolotoy
Impactful Individual
Impactful Individual

@lbendlinBut how do I make it accepting data from web apis?

lbendlin
Super User
Super User

Not from there, but to there.  You use Power BI Desktop to declare the data source connections. Then you publish that pbix to the service where it becomes a dataset.  Then you can set up the scheduled refresh (if needed) and you can consume the dataset from the rdl.

Markzolotoy
Impactful Individual
Impactful Individual

When I say add Power BI dataset connection it points me to Powerbi service. where do I go from there?

lbendlin
Super User
Super User

Word is that you create a Power BI Dataset against that web API, and then consume that dataset in Report Builder.

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.