Created a python script which executes fine in Power BI desktop. The script exports a table called output which I then format. I want to make the dataset available to others in my work group and so am attempting to create a new dataflow starting with a blank query. I coppied and pasted the contents of my desktop files advanced editor into the blank query and recieved the following error that comes up at the 'Run Python script' step.
"We encountered an error during evaluation. Details: Expression.Error: The import Python.Execute matches no exports. Did you miss a module reference?"
I updated my power bi desktop version and re-tried with the same result. I've coppied and pasted as plain text with the same result. Is this a bug similar to the one when R script was originally released or is there something I can do to fix this error and get the same output as in my desktop file?