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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Write values from Dataflow Power Query into MS SQL Express database (on premises)

Hello, 

I have Power Query script in Power BI Service Dataflow, that does SQL INSERT of dynamic values into MS SQL database table. Problem is that script works when executed in Power BI Desktop, and Online Editor (Dataflow), but when I save and run refresh of dataflow nothing happens in SQL database. Power Query that isn't executed in Dataflow is Value.NativeQuery(DatabaseSource, SQLQuery).

Refresh shows as Completed. 

And has anyone succeded in doing something like that?

Advice pls? Thanks

3 REPLIES 3
lbendlin
Super User
Super User

At the moment Power BI/ Power Query is not a write-back tool. Hopefully this will change soon.

 

What's your reason for not using SSIS?

Anonymous
Not applicable

Thanks, I know that load part of PQ isn't best, but there are plenty articles describing how to load data from PQ. Do you know if R or Python in PQ have same limitations as SQL? I'm not using SSIS because I'm trying to keep costs to minimum.

There are a few articles on this forum about successfully using R scripts for ETL on the desktop.  Not so sure about the service though.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.