Comments (6)
The problem here is that you are an admin user impersonating a non-admin. So it's an unusual situation. It's probably best to test your role in one query window and run your traces in another
from daxstudio.
I want to view the xmSQL code, and trace info, generated by DAX queries under a security role. The purpose is optimising DAX measures.
Is thare a way in which I can manage this using DaxStudio?
from daxstudio.
Maybe we should study how to implement this scenario. The problem is that you should use two different processes, but the current implementation of DAX Studio runs the query analysis within the same process (and user) that is receiving profiling events - and that user must be an administrator.
from daxstudio.
I am facing exactly the same scenario at a client. A handful of measures slow down tremendously when RLS is applied, and I really wanted to look at the xmSQL and query plans. Would I need SQL Profiler to capture the information, when executing the queries as a user with RLS, or is there something we can do within DAX Studio in this case?
from daxstudio.
You could use profiler to capture the Vertipaq SE End events, but this should now work in the 2.9.2 release. I just did a quick double check against the June PowerBI Desktop and SSAS 2017 and I could activate tracing while connected with Role=... and I could see the role predicate pushed down into the xmSQL. Do you have a scenario where this is not working?
from daxstudio.
I just discovered that I'm not using 2.9.2 yet - how embarassing! Thanks, Darren!
from daxstudio.
Related Issues (20)
- Error when opening any Power BI XMLA endpoint: "The following error has occurred while updating the connection: An item with the same key has already been added" HOT 5
- I cant use Dax studio to connect to Analize Services anymore. What changed? HOT 2
- Cannot create connection HOT 4
- Change Font or Background color of error messages HOT 1
- Error When Connecting To A Power BI Workspace HOT 4
- The following error occurred while updating the connection: An item with the same key has already been added. HOT 1
- Excel 2019 Addin won't automatically load (works fine if manually enabled) HOT 1
- CPU Time information in All Queries trace HOT 1
- Error setting the selected database: An item with the same key has already been added HOT 3
- Comma Delimiter Export Format HOT 1
- Error refreshing table list: An item with the same key has already been added. HOT 1
- Formatted files and results grid not showing correct formats HOT 5
- Unable to view Query in Dax Studio from Power BI Desktop HOT 2
- Error refreshing table list: Un élément avec la même clé a déjà été ajouté. HOT 3
- Error when connecting to PIBIX file HOT 2
- Table names not appearing in DAX studio HOT 1
- #1219 further details HOT 2
- DAX Studio not connecting via PBI Desktop upgrade Dec 2023 HOT 2
- DAX Studio Ver 3.0.11 is crashing while Start up. HOT 4
- Power BI Connection Issue: An item with the same key has already been added HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from daxstudio.