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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Power BI Header Change

Power BI Header Update

Read about the exciting updates for the Power BI forum.

Top Solution Authors
Top Kudoed Authors