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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
SQLbyoBI
Advocate I
Advocate I

Capturing User Information from MdxQuery events in Log Analytics

Is it possible to see the end user associated with an MDX query events captured in Log Analytics attached to a Power BI (premium) workspace?
 
Currently working w/ a client where we've attached Log Analytics to one of the Power BI (premium) workspaces and are using the event data to measure user adoption. One peculiarity we've noticed is that while we can track both MDX & DAX queries, we are unable to determine the end-user associated with the MDX queries (no issues with DAX queries). It seems all MDX query events are tied to the Power BI Service account.

SQLbyoBI_1-1644584490518.png

 

This client (finance department) makes very heavy use of Excel pivot tables connected to the PBI dataset... as such nearly 90% of all query events are MDX. 
 
I've tried projecting all documented columns in Kusto queries (ExecutingUser, Identity, User) even parsed through the XmlaProperties on the QueryBegin event... but not finding any actual end user names/emails tied to MdxQuery operations.
 
Perhaps there's a configuration issue or something else I've missed when setting everything up?
Or perhaps this is simply not possible and just a subtle difference between Azure AS and PBI?
4 REPLIES 4
lbendlin
Super User
Super User

I'll ask around. We have the same problem with our finance users. They have discovered that they can use CUBEMEMBER etc functions and are doing that excessively, leading to thousands of concurrent MDX queries from a single Excel file (for example) which make the capacity rather sad.  You may want to plan for the re-education sessions already.

thank you. 

 

we've already had several discussions w/ the "report builders" on the dos/don'ts w/ the dataset (i.e. "don't use a bunch of giant pivot tables to dump data from the PBI dataset, we can provide you with whatever extract you need using a more appropriate method")

Let me know what works for you. We are having a hard time fighting the stubborn. Short of cutting their Power BI access there's nothing you can technically do in the tenant/capacity.

nothing to do but communicate (which can be challenging depending on the organization's data maturity)... as an advisor, i just provide the options, tradeoffs, and opinions... it's up to the client to decide what (if anything) to do about the issue(s)

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors