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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors