Forum Discussion
Amir851
7 years agoHelper I
Pass Python Variable as a query parameter in Advance Editor
Hi All, I am trying to create a query parameter for a variable named as start present in my Python script into Advance Editor in Power BI Desktop. Basically, my script is trying to extract data ...
- 7 years ago
My mistake, we lost the quitation marks. Try:
Source = Python.Execute( "import requests.. other code.... """ & MyVariable & """ .. other code.... "),
If this works I'll update the original answer.
SteveCampbell
7 years agoMemorable Member
My mistake, we lost the quitation marks. Try:
Source = Python.Execute( "import requests.. other code.... """ & MyVariable & """ .. other code.... "),
If this works I'll update the original answer.
Amir851
7 years agoHelper I