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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
AC4
Frequent Visitor

Power BI Rest API: Datasets - Execute Queries In Group

Hi all,

 

I am trying to use the Power BI Rest API: Datasets - Execute Queries In Group.

 

To start with, I am just executing the dax query INFO.MEASURES(), this correctly returns all of the measures in this semantic model.

 

The problem I have though, is that this model is widely used in live connection by other report creators on the workspace who sometimes create their own report level measures, and because that is not another smeantic model in of itself (I don't believe so at least), I cannot use the API and dax query to get info about those measures. 

 

Is there any way around this or am I doing something wrong? I am fairly inexperienced with APIs/Power BI Rest API and my goal is to be able to monitor all the measures used in the workspace to confirm business logic, dax efficiency and more.

 

Thanks 

1 ACCEPTED SOLUTION
v-yangliu-msft
Community Support
Community Support

Hi  @AC4 ,

 

The API may not directly provide information about report-level measures created by other report creators.
You may also want to note some of the limitations and caveats of the “Datasets - Execute Queries” API:

The user must have dataset read and build permissions. For more information, see Manage dataset access permissions.

Datasets that are hosted in Azure Analysis Services or that have a live connection to an on-premises Azure Analysis Services model aren't supported.

Datasets - Execute Queries - REST API (Power BI Power BI REST APIs) | Microsoft Learn

You may consider other ways to monitor these metrics:

Extracting Report Level measures DAX using SQL Pro... - Microsoft Fabric Community

Power BI Report Level Measure behind the scenes | by Riccardo Perico | Rik in a Data Journey | Mediu...

 

 

Best Regards,

Liu Yang

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
v-yangliu-msft
Community Support
Community Support

Hi  @AC4 ,

 

The API may not directly provide information about report-level measures created by other report creators.
You may also want to note some of the limitations and caveats of the “Datasets - Execute Queries” API:

The user must have dataset read and build permissions. For more information, see Manage dataset access permissions.

Datasets that are hosted in Azure Analysis Services or that have a live connection to an on-premises Azure Analysis Services model aren't supported.

Datasets - Execute Queries - REST API (Power BI Power BI REST APIs) | Microsoft Learn

You may consider other ways to monitor these metrics:

Extracting Report Level measures DAX using SQL Pro... - Microsoft Fabric Community

Power BI Report Level Measure behind the scenes | by Riccardo Perico | Rik in a Data Journey | Mediu...

 

 

Best Regards,

Liu Yang

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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