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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
VickyMarga
Frequent Visitor

Power BI Write Back to Database with Power Apps

Hello everyone, 

 

i have a question using Power Apps:

 

I have a table in SQL where I have to add values by selecting the line using power apps:

When i select a row the visual of power apps show me the row and allows me to add a new value, and save.

After save i want to see the new value in live ? 

VickyMarga_0-1685354329566.png

someone could help me? 

thanks

3 REPLIES 3
amitchandak
Super User
Super User

@VickyMarga , that is tricky for import mode, as you have refresh data (Desktop) or schedule refresh (Service)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi, thanks.

 

I need write back option with Power Apps in Power BI in the SQL table 

Hi Vicky,

The only way I have found to do this, is by adding a Direct Query in your PowerBI model, to read the SQL table you're writing to.

Then from PowerApps when you do the save, you need to call the command:
PowerBIIntegration.Refresh();
This will refresh (not reimport but just refresh the data) which will trigger the read again from the Direct Query, showing in PowerBI the data you justed posted on SQL.

Seems a basic scenario, but it'S not there by default, you need these pieces in order to make it work.

Hope it helps.

Did I answer your question? Mark my post as a solution! 

Helpful resources

Announcements
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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