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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

How to extract a power bi value and insert that value in a sql database with Power Automate?

Hello everybody! 

 

I'm working with the power automate preview visual because I want to create a flow that extracts the power bi value from a card visual and insert it as a row in a table located SQL Server. 

 

I have done the same before calling to an API, extract the value from that API and insert it in SQL Server like this (ir works perfectly): 

caputra api general.JPG

I have used the same process for getting the power bi value but it doesn't work. Here is the flow I have used: 

1) First, I use a GET process with HTTP action. On the URL parameter I use the "pais seleccionado" item which is the metric of the visual card I want to get (it shows the country selected in a slicer).

asainzlopez_1-1650960692042.png

2) After, I parse that item to JSON object so I can insert it without format problems in a SQL Database:

asainzlopez_3-1650960895806.png

But I need a schema example for that item and I can't find it.

 

asainzlopez_4-1650961176617.png

3) Finally, I use an "insert row in sql" action: 

asainzlopez_5-1650961378119.png

 

I've been looking for a solution and try everything I have foundb but it doesn't work.  

 

It would be fantastic if anybody can help me with this... 

 

Thanks in advance. 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

You can refer the following links to get it.

export data from power bi visuals to excel automatically

yingyinr_0-1651215026891.png

Power Automate Desktop: Read & Filter Excel With SQL Query

In addition, you can also extract the data from Power BI to SQL by the following methods:

1. With R or using SSIS

Exporting Power BI Data to SQL Server

2. Powershell

Export Power BI Desktop data to SQL Server

3. Using API

Export Filtered Dataset from Power BI to SQL Server Programmatically using API and Power BI Embedded

Best Regards

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

You can refer the following links to get it.

export data from power bi visuals to excel automatically

yingyinr_0-1651215026891.png

Power Automate Desktop: Read & Filter Excel With SQL Query

In addition, you can also extract the data from Power BI to SQL by the following methods:

1. With R or using SSIS

Exporting Power BI Data to SQL Server

2. Powershell

Export Power BI Desktop data to SQL Server

3. Using API

Export Filtered Dataset from Power BI to SQL Server Programmatically using API and Power BI Embedded

Best Regards

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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