locked
SharePoint online News article views RRS feed

  • Question

  • I'm trying to extract News article views from sharepoint online into powerbi. Has anyone done this?

    Maybe it is available in the Microsoft 365 Usage Analytics dataset?

    Tuesday, September 15, 2020 10:53 AM

Answers

  • It seems like you may be able to achieve this using Graph API if you are using SharePoint Online. You can use Power BI's OData connector.

    API reference: 
    https://docs.microsoft.com/en-us/graph/api/itemanalytics-get?view=graph-rest-1.0&tabs=http

    The documentation states:
    "Get itemAnalytics about the views that took place under this resource. The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays. For a custom time range or interval, use the getActivitiesByInterval API."


    Tuesday, September 22, 2020 8:47 PM

All replies

  • anyone?
    Monday, September 21, 2020 8:33 AM
  • It seems like you may be able to achieve this using Graph API if you are using SharePoint Online. You can use Power BI's OData connector.

    API reference: 
    https://docs.microsoft.com/en-us/graph/api/itemanalytics-get?view=graph-rest-1.0&tabs=http

    The documentation states:
    "Get itemAnalytics about the views that took place under this resource. The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays. For a custom time range or interval, use the getActivitiesByInterval API."


    Tuesday, September 22, 2020 8:47 PM