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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Avian
Frequent Visitor

How read the sharepoint url and combine and then select a common list

Hello,

 

I have one sharepoint table where we have all the site collection url. CUrrently there are 5 collections and future more site collection can be add in the table.

 

I want to read all the SharePoint URL from the table and then combine all the site collectiions and then select a particular list for example Invoice, which is exist in each site collection and structure are same.

 

How can this can be achieve using the query? If anyone can provide the sample solution , it would be really helpful?

 

Regards

Avian

2 REPLIES 2
v-xinruzhu-msft
Community Support
Community Support

Hi @Avian 

You can connect to one url first by using web connector, then change the code to a funciton.

e.g 

(a as text)=>
let
    ....
in
    ....

Then use the function in table by adding invoke custom function.

vxinruzhumsft_0-1710918718633.pngvxinruzhumsft_1-1710918748232.png

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Hello 

 

Thanks for response, is it possible to share some sample where after pulling the sites from table as you mentioned above how can we connect to those sites ?

 

Regards

Avi

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors