This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
After editing a dataflow, I get an error when I try to "Save and Close".
My scenario is when I edit a query that has been set for incrimental refresh. I edit it to pass the range params to a custom function that folds them into the sql for an odbc query.
let
//Source = ODBC_BLP800CFBL(SalesOrdersSQL,pFrom, pTo)
Source = ODBC_BLP800CFBL(SalesOrdersSQL,RangeStart, RangeEnd),
#"Changed column type" = Table.TransformColumnTypes(Source, {{"DATE", type datetime}}),
#"SalesOrders-44415445-autogenerated_for_incremental_refresh" = Table.SelectRows(#"Changed column type", each DateTime.From([DATE]) >= RangeStart and DateTime.From([DATE]) < RangeEnd)
in
#"SalesOrders-44415445-autogenerated_for_incremental_refresh"
I uncomment the second line and comment the first, then Save and Close and get the following error...
Activity ID: 7f4edb29-fbd8-4c2e-83ab-de923fa74508
Request ID: 3f908d78-94dd-1cc9-0d9e-ea5236e9ab98
Correlation ID: 187f3269-3617-a28f-0c45-04a443cfcb66
Status code: 500
Time: Tue Apr 26 2022 12:32:50 GMT+1000 (Australian Eastern Standard Time)
Service version: 13.0.18082.40
Client version: 2204.2.10821-train
Cluster URI: https://wabi-australia-southeast-redirect.analysis.windows.net/
In the past I have successfully used this technique but, now I get the error, even if I re-create the dataflow from scratch and/or in another workspace.
Solved! Go to Solution.
Thanks for the suggestions, unfortunately they didn't help. I managed to solve the problem mysef by changing the proceedure I followed. After I uncomment the line
Source = ODBC_BLP800CFBL(SalesOrdersSQL,RangeStart, RangeEnd),
I also delete
#"SalesOrders-44415445-autogenerated_for_incremental_refresh" = ...
I then save the dataflow and this last line is re-inserted automatically.
Hi, @RobertSlattery
Please refer to the following post, hope it can help you.
https://community.powerbi.com/t5/Service/Can-t-save-dataflow-Unknown-exception/m-p/2033530
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for the suggestions, unfortunately they didn't help. I managed to solve the problem mysef by changing the proceedure I followed. After I uncomment the line
Source = ODBC_BLP800CFBL(SalesOrdersSQL,RangeStart, RangeEnd),
I also delete
#"SalesOrders-44415445-autogenerated_for_incremental_refresh" = ...
I then save the dataflow and this last line is re-inserted automatically.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 10 | |
| 8 | |
| 8 | |
| 7 | |
| 6 |
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 18 | |
| 17 | |
| 16 |