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
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
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.

Top Solution Authors
Top Kudoed Authors