Forum Discussion
get data from semantic model using api
can it be possible to get data from semantic model using APIs ?
example, get list of product names from power bi semantic model using APIs
powerbiexpert22 You can use the XMLA endpoint to do that.
Hi powerbiexpert22,
Yes, you can use the XMLA endpoint if your semantic model is on a fabric capacity, and you can use the execute queries endpoint.
Datasets - Execute Queries - REST API (Power BI Power BI REST APIs) | Microsoft LearnIf you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.
4 Replies
- V-yubandi-msftCommunity Support
Hi powerbiexpert22 ,
I wanted to check if you had the opportunity to review the information provided by tayloramy GeraldGEmerick . Please feel free to contact us if you have any further questions.
Thank you and continue using Microsoft Fabric Community Forum.
- GeraldGEmerickSuper User
powerbiexpert22 You can use the XMLA endpoint to do that.
- tayloramySuper User
Hi powerbiexpert22,
Yes, you can use the XMLA endpoint if your semantic model is on a fabric capacity, and you can use the execute queries endpoint.
Datasets - Execute Queries - REST API (Power BI Power BI REST APIs) | Microsoft LearnIf you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.
- V-yubandi-msftCommunity Support
Hi powerbiexpert22 ,
Could you let us know whether your issue has been resolved, or if you need any further information.