Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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.