Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe 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.
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
Solved! Go to Solution.
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
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.
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
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
3 | |
3 | |
3 | |
2 | |
2 |
User | Count |
---|---|
14 | |
4 | |
4 | |
3 | |
3 |