Forum Discussion
Anonymous
5 years agoNot applicable
How to update dataflow M scripts from JSON file?
Hi, I have created a dataflow in a developer workspace, then exported the dataflow as a JSON file and imported the dataflow from the JSON file into a production workspace, all successfully. Then I h...
v-kkf-msft
5 years agoCommunity Support
Hi Anonymous ,
Unfortunately, according to the document https://docs.microsoft.com/en-us/rest/api/power-bi/dataflows , it should be impossible to use Rest API to automatically update the M code.
Best Regards,
Winniz
Anonymous
5 years agoNot applicable
Hi v-kkf-msft ,
Thank you! This confirms my research. It seems the API doesn't know anything like a "Query" object in a dataflow, only dataflow level settings affecting all queries. I'll submit the JSON update as an idea.
BR
Martin