Forum Discussion

bpratt1's avatar
bpratt1
Regular Visitor
4 years ago
Solved

Query errors after creation of auto ml model in dataflow

I set up a dataflow in power BI service (I am a Premium user). I created a machine learning model. The model was successfully created. Now, if I try to edit or add any queries in the dataflow, I get errors in the queries that were created by the auto ml model. The error is always "Expression.Error: We cannot convert the value "[Function]" to type Function."

 

This error prevents me from making any changes at all to any query in the dataflow because the queries are validated automatically when you hit "save and close" and the errors prevent the query from being saved.

 

So essentially, once I create an auto ML model, I can never modify or add any query in the dataflow in which the ML model was created.

 

How can I fix this? 

  • I will reply to myself, as I think I figured this out as soon as I posted! These errors are due to privacy settings for each of the data sources in the dataflow not being consistent. Once I switched all data source credentials to "organizational", the errors went away.

1 Reply

  • bpratt1's avatar
    bpratt1
    Regular Visitor

    I will reply to myself, as I think I figured this out as soon as I posted! These errors are due to privacy settings for each of the data sources in the dataflow not being consistent. Once I switched all data source credentials to "organizational", the errors went away.