Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 13951

Power BI Pass Parameter Value to python Script Variable in get Data

$
0
0

I have a Power BI report that uses Python Script to get data.Is it possible to pass the parameter value give my the user as a variable in this python script?

In the below example I want the user to pass their user name and password as parameter into this script.

Sample Code

import requests
import pandas as pd

user = "UserName"

Pass = "Password"

.......

Kindly advise. Thank You


Viewing all articles
Browse latest Browse all 13951

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>