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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

@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

@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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors