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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
wi11iamr_
Frequent Visitor

DAX Query View - User Does Not Have Permission to call Discover Method

Within Power BI Desktop I have connected to a Semantic Model in my Power BI Service. Using DAX Qury View in Power BI Desktop, I can happily evaluate any tables as follows:

 

EVALUATE Tasks

 

 

When I however try to access any DMVs/Functions such as 

 

select * from $SYSTEM.TMSCHEMA_MEASURES

 

or

 

EVALUATE INFO.MEASURES()

 

 

then I get the error 

 

The %username% user does not have permission to call the Discover method.

Technical Details:

RootActivityId: a3f294a3-c69b-475b-b0c5-cc8f833e2048

 

The above queries work just fine in DAX Studio where I admittedly have to specify the Initial Catalog

DAX Studio Connect.png

 

But within PowerBI Desktop, although I can happily create reports using this semantic model, I just cannot inspect it within DAX Query View.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @wi11iamr_ ,

As we can see in our tests, we are able to execute the EVALUATE INFO.MEASURES() command perfectly without fetching data from the semantic model. However, if we connect to the semantic model to process the data, there may be additional layers of security that may not be invoked if we don't have enough privileges to access it.

vxingshenmsft_0-1723611168868.png

 

vxingshenmsft_1-1723611391525.png

DAX Studio uses XMLA endpoints for connectivity, which means that more privileges can be given to the user to be able to query the data model.

vxingshenmsft_3-1723613093383.png

vxingshenmsft_2-1723612946737.png

Here is the document I found for you, I hope it helps to solve your problem.

Dynamic Management Views (DMVs) in Analysis Services | Microsoft Learn

Semantic model connectivity and management with the XMLA endpoint in Power BI - Power BI | Microsoft...

 

Hope it helps!

Best regards,
Community Support Team_ Tom Shen

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @wi11iamr_ ,

As we can see in our tests, we are able to execute the EVALUATE INFO.MEASURES() command perfectly without fetching data from the semantic model. However, if we connect to the semantic model to process the data, there may be additional layers of security that may not be invoked if we don't have enough privileges to access it.

vxingshenmsft_0-1723611168868.png

 

vxingshenmsft_1-1723611391525.png

DAX Studio uses XMLA endpoints for connectivity, which means that more privileges can be given to the user to be able to query the data model.

vxingshenmsft_3-1723613093383.png

vxingshenmsft_2-1723612946737.png

Here is the document I found for you, I hope it helps to solve your problem.

Dynamic Management Views (DMVs) in Analysis Services | Microsoft Learn

Semantic model connectivity and management with the XMLA endpoint in Power BI - Power BI | Microsoft...

 

Hope it helps!

Best regards,
Community Support Team_ Tom Shen

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.