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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Guust_van_Dijck
New Member

Power BI troubleshooting SQL queries that are triggered by Power BI

Hi Power BI people!

Currently we have many semantic models in the Power BI Service that are regularly refreshed by one and the same "service user". We set it up like this so that we don´t risk refresh fails because of de-activated accounts. The problem that we are experiencing with this setup is that our Ops colleagues find it very difficult to pinpoint who to talk to when Power BI is causing a heavy load on our SQL Server Databases. So I´m looking for a way to make this proces better.

In the ideal world we would be able to immediately see which query on SQL Server was triggered by which semantic model. I guess my questions are as follows;

- Is there an easy way to match the SQL Server query to the Power BI Semantic model?

- If the above proves difficult, are there any best practices regarding a "service user" setup that would help troubleshoot these issues?

- Any other tips regarding this issue?

Kind regards,

Guust

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Is there an easy way to match the SQL Server query to the Power BI Semantic model?

Not at all.  Take the Request ID and go hunting in your logs. Good luck.

If the above proves difficult, are there any best practices regarding a "service user" setup that would help troubleshoot these issues?

In each query add a fake (static) column that identifies the requestor.

Any other tips regarding this issue?

Don't use service principals if you care about auditing.

 

 

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

Is there an easy way to match the SQL Server query to the Power BI Semantic model?

Not at all.  Take the Request ID and go hunting in your logs. Good luck.

If the above proves difficult, are there any best practices regarding a "service user" setup that would help troubleshoot these issues?

In each query add a fake (static) column that identifies the requestor.

Any other tips regarding this issue?

Don't use service principals if you care about auditing.

 

 

Thanks a lot for your answer! Especially the fake static column suggestion could prove helpful!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.