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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
sasdfasdfsad
Helper III
Helper III

Extract data from semantic models using ADF or similar?

We have several semantic models in our PBI Premium environment.

We've done a lot of ETL work to get the data into those models.

We have some lookups that we would like to be able to extract from those models and reuse in other systems.

Is there a way to use ADF or Power Automate or some ETL tool to connect to the Power BI Semantic Model as a data source and extract data out of it?

Basically instead of loading data into a semantic model I want to suck data out and dump it in an SQL table or someplace.


2 ACCEPTED SOLUTIONS
nilendraFabric
Solution Supplier
Solution Supplier

Hello @sasdfasdfsad 

 

Yes its possible to query PBI dataset using ADF and store to your desired location such as Sql table, adla etc

 

ADF can execute DAX queries against a Power BI dataset using the Power BI REST API. This is done by configuring a Web Activity in an ADF pipeline to make HTTP POST requests to the `/executeQueries` endpoint of the API

 

https://www.mattiasdesmet.be/2023/11/09/use-powerbi-apis-in-azure-data-factory

 

please accept this answer and give kudos if this is helpful 

 

 

View solution in original post

v-ssriganesh
Community Support
Community Support

Hi @sasdfasdfsad,
Thanks for posting your query in Microsoft fabric community forum.

Thanks @nilendraFabric for your valuable response! Yes, it is possible to extract data from Power BI Semantic Models using Azure Data Factory (ADF) by executing DAX queries via the Power BI REST API.

Additionally, here are some key points to consider:

  • Ensure you have the necessary permissions and authentication setup (Azure AD, service principal, or user-based authentication) to execute queries against the Power BI dataset.
  • Extracting large volumes of data via the API can be slower than direct database queries. Consider optimizing your DAX queries and using incremental extraction where possible.
  • Alternatively, you can also use Power Automate with the Power BI connector to extract data periodically and store it in a SQL table or another destination. If you are using Azure Analysis Services, you can use the XMLA endpoint to connect via tools like SSIS or Logic Apps.

For more details, refer to the official Power BI REST API documentation.

If this helps, then please Accept it as a solution and dropping a "Kudos" so other members can find it more easily.
Thank you.

View solution in original post

2 REPLIES 2
v-ssriganesh
Community Support
Community Support

Hi @sasdfasdfsad,
Thanks for posting your query in Microsoft fabric community forum.

Thanks @nilendraFabric for your valuable response! Yes, it is possible to extract data from Power BI Semantic Models using Azure Data Factory (ADF) by executing DAX queries via the Power BI REST API.

Additionally, here are some key points to consider:

  • Ensure you have the necessary permissions and authentication setup (Azure AD, service principal, or user-based authentication) to execute queries against the Power BI dataset.
  • Extracting large volumes of data via the API can be slower than direct database queries. Consider optimizing your DAX queries and using incremental extraction where possible.
  • Alternatively, you can also use Power Automate with the Power BI connector to extract data periodically and store it in a SQL table or another destination. If you are using Azure Analysis Services, you can use the XMLA endpoint to connect via tools like SSIS or Logic Apps.

For more details, refer to the official Power BI REST API documentation.

If this helps, then please Accept it as a solution and dropping a "Kudos" so other members can find it more easily.
Thank you.

nilendraFabric
Solution Supplier
Solution Supplier

Hello @sasdfasdfsad 

 

Yes its possible to query PBI dataset using ADF and store to your desired location such as Sql table, adla etc

 

ADF can execute DAX queries against a Power BI dataset using the Power BI REST API. This is done by configuring a Web Activity in an ADF pipeline to make HTTP POST requests to the `/executeQueries` endpoint of the API

 

https://www.mattiasdesmet.be/2023/11/09/use-powerbi-apis-in-azure-data-factory

 

please accept this answer and give kudos if this is helpful 

 

 

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! Prices go up Feb. 11th.

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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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