Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hello Folks,
I have a python code which needed to be parameterized in power bi . You can see the below python code . I have three parameters called user, pw and server_address
from tableau_api_lib import TableauServerConnection
from tableau_api_lib.utils.querying import get_views_dataframe
username = "" & user & ""'
password = '"" & pw & ""'
server = '"" & server_address & ""'
tableau_server_config_ft = {
'my_env': {
'server': server ,
'username': username,
'password': password
}
}
conn = TableauServerConnection(tableau_server_config_ft, env='my_env')
conn.sign_in()
But If i put my credentials in the code as it is, this works.
Can somebody help me regarding this?
@srigag900 , You should be able to use M parameters here
https://learn.microsoft.com/en-us/power-query/power-query-query-parameters
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 62 | |
| 61 | |
| 42 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 122 | |
| 116 | |
| 38 | |
| 32 | |
| 29 |