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

How to access the number of hits/views of items/docs in a SP Library?

Is there a possibility to access the number of hits/views of docs shared in a Sharepoint Library (0365) within Power BI?

The same information that's provided when you request Popularity Trends (for Files) or Most Popular Items (for Library) through the User Interface?

We can access SP Libraries & List via the 'SharePoint Online List' data source, but is that information then stored in the 'Activities' (or other) column(s) or is it stored in another object(s)?

1 ACCEPTED SOLUTION

There is an App/Content Pack for Azure Audit Logs but not Office 365 Audit logs. This came up at least once before here:

 

https://community.powerbi.com/t5/Integrations-with-Files-and/Office-365-Audit-Log/td-p/16512

 

The reply at the end is probably your best bet, use Powershell to download your audit log and then import and analyze with Power BI. This article includes how to use Powershell to search your audit logs:

 

https://powerbi.microsoft.com/en-us/documentation/powerbi-admin-auditing/

 

This article focuses on Power BI audit logs but Power BI audit logs are in the Office 365 audit logs so you should be able to modify the Powershell for your specific purposes.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
Greg_Deckler
Super User
Super User

I do not believe that is stored within the list but rather collected through web metrics. I would think that perhaps the Office 365 audit logs would have that information.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler TX for your prompt reply. Is it possible to access the O365 audit logs using Power BI?

There is an App/Content Pack for Azure Audit Logs but not Office 365 Audit logs. This came up at least once before here:

 

https://community.powerbi.com/t5/Integrations-with-Files-and/Office-365-Audit-Log/td-p/16512

 

The reply at the end is probably your best bet, use Powershell to download your audit log and then import and analyze with Power BI. This article includes how to use Powershell to search your audit logs:

 

https://powerbi.microsoft.com/en-us/documentation/powerbi-admin-auditing/

 

This article focuses on Power BI audit logs but Power BI audit logs are in the Office 365 audit logs so you should be able to modify the Powershell for your specific purposes.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.