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
shera276
Advocate I
Advocate I

Report Server - Report Usage Statistics

Hi - PowerBI Service allows you to view report usage via the Admin Portal and in the service.  Is this possible in Report Server.  We are moving to report server and it would be nice to see report usage metrics.

1 ACCEPTED SOLUTION
Seth_C_Bauer
Community Champion
Community Champion

@shera276 The Power BI Report Server sits on a SQL instance (the same as normal SSRS) you have access to all the capabilities and information stored in the database. the view "dbo.ExecutionLog3" will provide you the metrics that you are looking for.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

View solution in original post

7 REPLIES 7
Seth_C_Bauer
Community Champion
Community Champion

@shera276 The Power BI Report Server sits on a SQL instance (the same as normal SSRS) you have access to all the capabilities and information stored in the database. the view "dbo.ExecutionLog3" will provide you the metrics that you are looking for.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

Hi @shera276: I have the same question. Did you get the required audit info from this view?

Thanks

Hi @hernan_russy - Until this is available in Report Server, I created reports based on the following suggestion by another PowerBI users in the community:

 

'The Power BI Report Server sits on a SQL instance (the same as normal SSRS) you have access to all the capabilities and information stored in the database. the view "dbo.ExecutionLog3" will provide you the metrics that you are looking for.'

 

So I connected to the dbo.ExecutionLog3 view from our SQL database and was able to create some usage stats.

It would be good to have Usage Statistics function in Report Server

I've created the same process, I pull the data from the log files into a table on a daily basis via a SP

Then I can create reports in SSRS or Power BI by date by user, or even which reports have the longest rendering time

SELECT 
Substring (el2.username,4,20) as Logs_User, 
el2.ReportPath as Logs_ReportPath,
CONVERT(varchar,el2.TimeStart,111) as Logs_Date, 
el2.TimeStart as Logs_TimeStart, 
el2.TimeEnd as Logs_TimeEnd, 
el2.[Status] as Logs_Status

FROM Portal.dbo.ExecutionLog2 el2  
--Portal is the name of my Report Server

where ReportPath not like '/02%' and Status = 'rsSuccess' and ReportPath != 'Unknown'
	and CONVERT(varchar,el2.TimeStart,111) = CONVERT(varchar,getdate()-1,111)
	and username not like 'NT SERVICE%'
	and Format  not like 'E%' 	and ByteCount != 0

hope this helps

 

cheers,

Dave

Hi DaveW

 

Thanks for your input. We are building a small repository of PBI Report Server and this has been helpful. I am in the process of using your script and merging that together with view of users and their access and all reports. Could you please explain your choice of restrictions in the script. I can see that the Where ByteCount != 0 eliminates about 95% of all rows from the original LOG table. Are these all irrelevant for measuring usage? 

Thanks again, 

Bjarki

Hey Bjarki,

good to hear it's helped.  I just opened a PBI report with slicers, before I selected any slicer options I looked at the Log and I could see multiple rows, the only row where ByteCount != 0 there was another field: ItemAction with value: ConceptualSchema

So you could also filter on this.

When I then selected some slicer options in the PBI report and looked at the Log, I could see more rows but all had ByteCount = 0 and ItemAction = QueryData.  So I would either use the ByteCount != 0 or the ItemAction field = ConceptualSchema in your report filter. 

I'd suggest to do some testing with opening various reports with multiple functions and work out the triggers that you need to filter

enjoy... Dave

@hernan_russy The report server won't mimc the same metrics that you see in Power BI in that view. It will essentially provide you with who or what process executed the report. I have not tested this completely with Power BI Desktop executions, but my understanding is that this will be tracked in the same fashion.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

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.