Forum Discussion

vickyd's avatar
vickyd
Helper V
6 years ago

Application Name in Extended Events

Our environment currently consists of Power BI Report server connected to SSAS. 

 

We are capturing Extended Events from SSAS to track performance of all queries. The extended event logs have a column from "ApplicationName" that shows where the query originated from. 

 

However, it's empty for anything queries orginating from Power BI reports, SSRS reports or Excel. It shows up for Power BI Desktop. 

 

Is there a way we can set the Application Name in Power BI Report Server so the PBI and SSRS reports show a name under Application name? 

5 Replies


  • vickyd wrote:

    Is there a way we can set the Application Name in Power BI Report Server so the PBI and SSRS reports show a name under Application name? 


    Unfortunately not. This property is set in the connection string so it needs to be set per connection.

     

    For SSRS reports you can set this in the connection string or probably also in share Data Sources, but for PBIX based reports the raw connection string is not exposed. And you cannot add properties like this. I tried this myself using API calls to update the connections so that I could enforce this, but the PBIX files just ignore properties on the connection that they do not support.

    • Vasavi's avatar
      Vasavi
      New Member

      How about identifying the excel application - does anyone know how to make it visible or identifiable as the application name for queries that are executing using it. We still see empty results for application names in the diagnostic logs of azure analysis services - though we can see few names like ssms and power bi desktop.

      • d_gosbell's avatar
        d_gosbell
        Super User

        Vasavi wrote:

        How about identifying the excel application - does anyone know how to make it visible or identifiable as the application name for queries that are executing using it. 


        So it's the same as SSRS, your users would need to go into the connection properties in Excel and edit the connection string to add "Application Name=Excel". Unfortunately Excel does not automatically insert this when making a new connection, so it would be up to your users to remember to do this every time they make a new pivot table, which is not really practical.

         

        I have done things in the past where we supplied the users with an ODC file where which they could open to create a new Excel file with a new pivot table and you could insert the "Application Name=" setting in there. But if you have existing reports without the "Application Name=" setting in the connection string this will not fix those.