Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I have production dataflows running successfully for months that began failing last night. On investigation, I discovered the Query argument had been removed from the Sql.Database function like this
qs = "select * from table",
Source = Sql.Database(server, db_Reporting, [Query=qs, CreateNavigationProperties=false])
magically transformed itself to this
qs = "select * from table",
Source = Sql.Database(server, db_Reporting, [CreateNavigationProperties=false])
When I edit the line to re-add the Query argument, Power BI disappears it again.
I started a new dataflow to see if I could do it in a completely new dataflow, and I noticed for the first time the Advanced option for native queries. HRMMMMM. Don't know when that rolled out because I haven't added or edited dataflows in over a month, but clearly something with this functionality is causing problems. I added a new dataflow using the new native query experience, and it created code like this
Source = Sql.Database(server, db_Reporting, [Query="select * from table", CreateNavigationProperties=false])
I tried editing that back to have a separate query string, and it disappeared the query argument again.
Did I miss an announcement that dataflows would be forced transfromed like this?
Does the Query argument no longer support references?
Hi, @Anonymous
For the issue, I cannot reproduce it here.
It is recommended to create a support ticket to investigate and verify this problem if you are a pro user.
https://powerbi.microsoft.com/en-us/support/
Best Regards,
Community Support Team _ Eason
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 18 | |
| 11 | |
| 8 | |
| 7 | |
| 6 |
| User | Count |
|---|---|
| 52 | |
| 42 | |
| 38 | |
| 25 | |
| 25 |