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
RADEK
Regular Visitor

Import multiple xml via Web from cloud based software

Hi PowerBI Community,

 

I am loading data from my cloud-based invoice software (https://invoiceocean.com/). I use Web as the data source and paste XML url with token provided by software. Unfortunately, the software has limitation. It allows fetching max up to 100 rows at once in one link (max_rows =100)

 

My solution is as follows: 

 

image.png

 

Every time when I reach next hundred rows I need to make copy of table, change xml string and append the final table.

 

Additionally, I am not able to create the table when at least one document is not created. I.e. I created table 601 -700. Total rows in software is 550, so I receive the error message: 

 

image.png

 

 

Questions: 

1. Is there any solution  (maybe advanced editor) to combine multiple XML links into one table without creating Data Warehouse or other additional storage?

2.  Is it possible to use the condition which checks if XML link is empty? If yes it stops, else it loads data?

 

 

Thanks,

 

Radek

 

1 REPLY 1
v-yuezhe-msft
Employee
Employee

@RADEK,

You can use List.Generate() function in Power Query to load the full data from your web page. For more details, please review the following blogs and Lukasz's reply in the similar thread below.

Iterate over dynamic Web API Pages with Power Query – How to resolve Cursor-Based Pagination
Power BI Using List.Generate to Reduce API Calls with Pagination

Get data from web error: A web API key can only be specified when a web API key name is provided

Regards,

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the 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.

Top Solution Authors
Top Kudoed Authors