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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
tebtim19
Helper IV
Helper IV

Duplicate files in Sharepoint

I tried to create a power bi to get data that has duplicate in sharepoint.

I followed this  reference: Finding Large Duplicate Files in SharePoint (youtube.com)

Is any one know if possible to get the data for all Sharepoint site we have and add a filter per site in the view, at the moment I can only add source for the specific Sharepoint site. 

tebtim19_0-1713362701572.png

 

tebtim19_1-1713362732613.png

 

 

4 REPLIES 4
madiicore
New Member

Hi! If you are open to using a tool to manage storage in SharePoint, I suggest trying out deDup. It’s great for finding and removing duplicate files in your SharePoint sites, which might be causing your storage issues. Hope this helps! 😊

christinepayton
Super User
Super User

Yes, you would need to use the "invoke a custom function" feature, which essentially lets you run a query using all the rows in another query (where your other query gets all sites). I have a tutorial here on how to get all sites here, you could adapt this to run your query on that.

hi thank you for the video it is really good video, but it seems like this is more on statistics for a site. What I need is for the statistics in document library to find a duplicate files. Is it possible to achieve this using this method? 

 

I would like to achive something like this (See screenshot below) but for all document library in our tenant.  

 

tebtim19_1-1713429798281.png

 



No, so what I was getting at with linking the video is that in the video, it does a query to get all sites and then invokes a function on that list of sites. So what you would do is combine the technique from your original video and adjust it to run the same query in a function over the list of sites in the second video. I don't know of a source that has both techniques combined in one tutorial - you have to take bits and pieces and mush them together. 🙂

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.