GithubHelp home page GithubHelp logo

Comments (6)

dgosbell avatar dgosbell commented on June 23, 2024

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.

OmriAvissar avatar OmriAvissar commented on June 23, 2024

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.

marcosqlbi avatar marcosqlbi commented on June 23, 2024

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.

otykier avatar otykier commented on June 23, 2024

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.

dgosbell avatar dgosbell commented on June 23, 2024

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?

image

from daxstudio.

otykier avatar otykier commented on June 23, 2024

I just discovered that I'm not using 2.9.2 yet - how embarassing! Thanks, Darren!

from daxstudio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.