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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
cjiwani
New Member

Can we store the data from the usage metrics report more than 30 days?

Hi All,
I am planing to make a custom report from the usage metrics data that Power BI generates. I was wondering can we get that data more than 30 days? or alternatively can we export that data and and store somewhere and stack updated data on top of it to have a historical data?

 

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi. You can't get more than 30 days. The best way to build a metrics usage report would be getting data from activity event logs in the whole tenant. You can get 30 days the first time, store that and keep a script getting every day the new incomes so you can build historic data.

The request is for admins or Service Pricipals with permission to read-only Admin API. Link: https://learn.microsoft.com/en-us/rest/api/power-bi/admin/get-activity-events

I hope that helps


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

9 REPLIES 9
V-yubandi-msft
Community Support
Community Support

Hi @cjiwani ,

Has your issue been resolved, or do you require any further information? Your feedback is valuable to us. If the solution was effective, please mark it as 'Accepted Solution' to assist other community members experiencing the same issue.

V-yubandi-msft
Community Support
Community Support

Hi @cjiwani ,

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

V-yubandi-msft
Community Support
Community Support

Hi @cjiwani ,

We noticed we haven't received a response from you yet, so we wanted to follow up and ensure the solution we provided addressed your issue. If you require any further assistance or have additional questions, please let us know.

Your feedback is valuable to us, and we look forward to hearing from you soon.

 

Thanks..

V-yubandi-msft
Community Support
Community Support

Hi @cjiwani ,

Thank you for reaching out to the Microsoft Fabric community. @ibarrau , Provided a valuable response. Along with his solution, I found a similar community thread that might also be helpful. Could you please take a look? Thank you for your response, @ibarrau .

 

Thread Link: Solved: Usage Metrics - how to get more than 30 days of da... - Microsoft Fabric Community

 

If my response solved your query, please mark it as the Accepted solution to help others find it easily.

And if my answer was helpful, I'd really appreciate a  Kudos .

ibarrau
Super User
Super User

Hi. You can't get more than 30 days. The best way to build a metrics usage report would be getting data from activity event logs in the whole tenant. You can get 30 days the first time, store that and keep a script getting every day the new incomes so you can build historic data.

The request is for admins or Service Pricipals with permission to read-only Admin API. Link: https://learn.microsoft.com/en-us/rest/api/power-bi/admin/get-activity-events

I hope that helps


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Hi @ibarrau, Thanks for the quick response. Do we get the same logs/ metrics like what we get in semantic model of usage metrics as I want to make a scalabe and detailed dashboard for long run.

Regards,
CJ 

You will get way more details with the API than usage metrics, but for keeping simple you can get the operations and filter by "View Report" to keep the events as the way you look at usage metrics.

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

The method I use is to monitor the key metrics beyond 30 days is to connect the usage metrics report to the Scorecard/Goals capability. So I then monitor the running 30 day total of user/page views etc and have the Goals (preview) visual in my report to show the running total. 

Well. I actually depends on the requirement or the needs you have. If you just need to check some measures or goals, sure you can go that way. If it works and satisfy the need, it's perfect. I have answered with the most frequent solution that let's you grow an historic dataset with all the flexibility of the event logs happening in the whole tenant. So you are growing the views of report for all workspaces and will store all times. You will have maximum granularity and flexibility.

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors