cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
barakb32
Advocate I
Advocate I

REST API Dataset Queries

Hello,

 

I would like to check if a certain filter is applied on every Power Query query that is used to build and refresh the datast.

Is there a way to programatically see thw query code for every query?

 

Thanks

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Run a DMV query against the dataset. 

 

 select * from $SYSTEM.TMSCHEMA_PARTITIONS

 

You can use DAX Studio or any other tool that can access the XMLA endpoint.

lbendlin_0-1638040206868.png

 

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

Run a DMV query against the dataset. 

 

 select * from $SYSTEM.TMSCHEMA_PARTITIONS

 

You can use DAX Studio or any other tool that can access the XMLA endpoint.

lbendlin_0-1638040206868.png

 

Helpful resources

Announcements
Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May 23 2022 epsiode 5 without aka link.jpg

The Power BI Community Show

Welcome to the Power BI Community Show! Jeroen ter Heerdt talks about the importance of Data Modeling.

Power BI Dev Camp Session 22 with aka link 768x460.jpg

Check it out!

Mark your calendars and join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

Top Solution Authors