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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
catsamson
New Member

How to get Views from Power BI Log Analytics?

Hello,
I am trying to track unique users and average monthly views over the past year accross multiple workspaces and dashboards. I can access the unique users for these using the azure PBI Log Analytics dashboard per the site here: PowerBI-LogAnalytics-Template-Reports/PBIASEngine/README.md at main · microsoft/PowerBI-LogAnalytics... but I can't seem to get actual views? Is this called a SessionInitialize?

 

Thank you!

13 REPLIES 13
v-denglli-msft
Community Support
Community Support

Hi @catsamson ,


You can use the Usage Metrics report to check the user views of the reports in this workspace.
Monitor report usage metrics - Power BI | Microsoft Learn

vdengllimsft_0-1733290549808.png


Best Regards,
Dengliang Li

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

Hi, thanks for your help but I specifically need views from the past 365 days across multiple workspaces and dashboards in one place and the Usage Metrics Report can only give 90 days worth of data.

Did you have Log Analytics running on all these workspaces for 365 days? That must be rather expensive.

It took a while but we also only started tracking it in August so I only have a couple months of data, additionally I filtered the query heavily to only get certain operations. If you have a better idea for getting views for a year please let me know!!!

If you have not done that already there is no way to recover this telemetry after the fact.  Personally I would use the tenant audit logs and sacrifice the page views details.

How do you get tenant audit logs? We'd be fine sacrificing page views.

Can this be automated? Consulted with someone on my team and they said the tenant logs can't be automatically updated in a PBI dashboard which is what I'm trying to do.

yes, we download them daily from the API and store the JSON in a shared location. These JSONs can then be ingested as needed - dataflow or datalake or eventhouse etc.

Sorry I'm new to this - how do you download them daily from the API automatically?

Windows Task Scheduler and PowerShell scripts?  Or whatever API automation tool you prefer.

Is there a tutorial somewhere for how to do that? I'm surprised its so difficult to get dashboard usage stats for a year and that there's no easy automated way to do it, or no way to filter log analytics to get report views

The link I shared goes through the required steps with examples. 

 

There is no easier (and definitely no cheaper) way of doing this.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.