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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
JoyH
Helper I
Helper I

Log Analytics KQL - How do I track interaction?

Hi,

 

I have a requirement to see which slicers and visual users are interacting with.

 

I have Log Analytics set up for my workspace and I am able to see a record for each dashboard visual load (KQL below). I'm importing this data into a PBIX and modeling it with report.JSON to get the names & descriptions of all the visuals.

 

My next step is to somehow figure out if a user changed a slicer or drilled into a visual or selected a value.  I'm hoping there is a better way to do this than comparing the DAX/EventText. 

 

If anyone knows, please reply. TIA!

 

PowerBIDatasetsWorkspace
| where TimeGenerated > ago(30d)
| where OperationName == ""QueryEnd""
| where ArtifactName == ""Dashboard_PRODUCTION""
| extend ParsedContext = parse_json(ApplicationContext)
| extend ParsedIdentity = parse_json(Identity)
| project ReportId = ParsedContext.Sources[0].ReportId, VisualId = ParsedContext.Sources[0].VisualId, TimeGenerated, EventText, ParsedIdentity.effectiveClaims.upn, Role = tostring(ParsedIdentity.effectiveClaims.roles[0])

 

JoyH_0-1710530415144.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @JoyH ,

Please try the following sentences:

Sample Log Analytics KQL queries

let dashboardName = "YourDashboardname";
PowerBI
| where OperationName == "VisualContainer" or OperationName == "Slicer"
| where ReportName == dashboardName
| where TimeGenerated > ago(30d)
| project TimeGenerated, OperationName, UserName, ObjectType, ObjectName, AdditionalInfo

Best Regards

View solution in original post

2 REPLIES 2
JoyH
Helper I
Helper I

Thank you! 

Anonymous
Not applicable

Hi @JoyH ,

Please try the following sentences:

Sample Log Analytics KQL queries

let dashboardName = "YourDashboardname";
PowerBI
| where OperationName == "VisualContainer" or OperationName == "Slicer"
| where ReportName == dashboardName
| where TimeGenerated > ago(30d)
| project TimeGenerated, OperationName, UserName, ObjectType, ObjectName, AdditionalInfo

Best Regards

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.