Forum Discussion
Usage Metrics data availability in model after usage report ran for first time?
I have a Power BI Desktop report that is connected to the Usage Metrics across our workspaces. It works great for all the reports we have historically built, but I am not getting any Views data for newly built reports.
To clarify, I have only ran the Usage Metrics for those reports earlier today, and I know that's a prerequisite to have the data available.
I have waited and refreshed my desktop report, and the new reports are being shown in the Reports table, but no views are visible in the Views table, despite several stakeholders having used the reports in the last few months, including in recent days.
This makes me think it is a timing issue, so I wondering what it the expected delay for the Views data to be visible?
Hi SevsBo,
The microsoft docs say that the usage metrics report can take up to 24 hours to update.
If you're intending to look at the data for all reports, I would recommend using the GetActivityEvents REST API instead of Usage Metrics. There's a few benefits for the API:
It gives you control over loading the data, it shows you data for all reports in all workspaces, where usage metrics can only show you one workspace at a time, and GetActivityEvents will continue to work when there is no activity, where usage metrics connections will fail or timeout after a few months of inactivity.https://learn.microsoft.com/en-us/rest/api/power-bi/admin/get-activity-events
1 Reply
- tayloramy
Super User
Hi SevsBo,
The microsoft docs say that the usage metrics report can take up to 24 hours to update.
If you're intending to look at the data for all reports, I would recommend using the GetActivityEvents REST API instead of Usage Metrics. There's a few benefits for the API:
It gives you control over loading the data, it shows you data for all reports in all workspaces, where usage metrics can only show you one workspace at a time, and GetActivityEvents will continue to work when there is no activity, where usage metrics connections will fail or timeout after a few months of inactivity.https://learn.microsoft.com/en-us/rest/api/power-bi/admin/get-activity-events