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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
rachoksh
Regular Visitor

Sharepoint usage

How can I find unused SharePoint online site collections that have been abandoned for more than 6 months?

 

Can O365 Content pack for Power BI help me with this?

 

Thanks

 

12 REPLIES 12
Anonymous
Not applicable

@rachoksh,

You can use the PBIT file of O365 adoption Content Pack in Power BI Desktop, then calculate the count of sites that have been abandoned for more than 6 months by evaluating the date field in SharePoint site tables.

Regards,

I downloaded the Power BI Desktop and installed it. I was also able to use my tenant ID to make the connection. Can you please help me with steps to find the unused sites? Thanks

Anonymous
Not applicable

@rachoksh,


Create measure using the DAX below and check if it returns your expected result.

Measure = CALCULATE(SUM('TenantSharePoint-Usage'[TotalSites]), FILTER('TenantSharePoint-Usage', (TODAY()-'TenantSharePoint-Usage'[ContentDate])>180))

Regards,
Lydia

Unfortunaltely, I am new user but opened file Office365 Adoption_PublicPreview05222017.pbit in PowerBI Desktop and entered my Azure AD GUID. But still needs steps to create the new measure/report using the query you suggested.

Thanks

Anonymous
Not applicable

@rachoksh,

 

Right click the 'TenantSharePoint-Usage' table in Fields panel and select “New measure”, and add the following DAX.

Measure = CALCULATE(SUM('TenantSharePoint-Usage'[TotalSites]), FILTER('TenantSharePoint-Usage', (TODAY()-'TenantSharePoint-Usage'[ContentDate])>180))


1.PNG2.PNG


Regards,

I get the same results even after changing the number from 180 to 7 or 360. I know for sure I have some sites that have not been used in months.

 PBI_report.png

 

 

Anonymous
Not applicable

@rachoksh,

Create a measure using the DAX below to check the minimum date in your table, maybe the minimum date is within 7/180 days.

MinDate = MIN('TenantSharePoint-Usage'[ContentDate])

Regards,
Lydia

Still the same output - Smiley Sad

PBI_report2.png

 

 

Anonymous
Not applicable

@rachoksh,

What is the result does the measure return?

Regards,
Lydia

How do I get result for just his measure? Sorry for the delay.

Anonymous
Not applicable

@rachoksh,

Drag the measure to a Card visual.

Regards,

rachoksh
Regular Visitor

How can I use O365 Content Pack for Power BI to find unused SharePoint Online site collections that have been abandoned for more than 6 months?

 

Thanks

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Kudoed Authors