Forum Discussion
Dax Studio is constantly disconnecting
Hi danielpitz
This "constant disconnecting" in DAX Studio is almost always due to 1 of these 3 reasons:
1. Elevation Mismatch - Most Common Fix
If Power BI Desktop is running as Admin and DAX Studio is NOT, or vice versa, Windows kills the local connection.
Fix: Close both.
Right click > Run both Power BI Desktop AND DAX Studio either both as Admin OR both NOT as Admin.
Best practice: Run both normally without Admin.
2. Antivirus / VPN killing local connection
Endpoint security tools kill the local loopback connection to msmdsrv.exe after few seconds of idle.
Fix: Temporarily disable AV/VPN and test.
If it works, add these 2 to AV exclusion:
1. msmdsrv.exe
2. DAXStudio.exe
3. Windows Efficiency Mode / Background Throttling
Windows suspends PBI Desktop when it's not in focus.
Fix: Task Manager > Details > Right click PowerBI.exe > Set Efficiency Mode OFF
Also: Settings > Apps > Background apps > Turn OFF "Let apps run in background" restrictions for Power BI
4. Update DAX Studio
There were bugs in older versions that caused frequent reconnects.
Download latest: https://daxstudio.org
Try point 1 first. That fixes it 80% of the time.
You don't need Admin mode for logging to work. But both apps must be at same elevation level.
Let me know which one worked!