Forum Discussion
Report Server - Report Usage Statistics
- Anonymous8 years ago
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.
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