Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi everyone,
I've been testing runing some forecasting scripts in Power BI desktop where the python script imports the data used to generate the forecast from Snowflake. The Snowflake connection in the python script has to include my credentials but it's less than ideal from a security point of view to have Power BI reports holdings my Snowflake account credentials within the Python script.
Does anyone know how to get around this?
Kind regards,
David
Solved! Go to Solution.
Hi. Power Bi has snowflake connector. You should use them to let powerbi keep the credentials encrypted and secured. Then you can run a python step at Query Editor (Transform Data) to keep going if you prefer transforming data that way.
I hope that helps,
Happy to help!
Hi @david_busint,
Thank you for reaching out to the Microsoft Fabric Community Forum.
Thank you for raising your concern. We really apologize for the inconvenience caused. After reviewing the details you provided, please follow the steps below, which might resolve the issue.
By implementing these methods, you can ensure that your Snowflake credentials are handled securely and not exposed within your Python scripts.
If this post helps, then please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.
Best Regards.
Hi @david_busint Could you please try these
Hi. Power Bi has snowflake connector. You should use them to let powerbi keep the credentials encrypted and secured. Then you can run a python step at Query Editor (Transform Data) to keep going if you prefer transforming data that way.
I hope that helps,
Happy to help!
Cheers this seems the best short-term solution.
Now I just need to get the python script to work since for some reason set_index works fine in a regular python scripting tool but not in Snowflake or Power BI.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
28 | |
28 | |
23 | |
14 | |
10 |
User | Count |
---|---|
24 | |
21 | |
17 | |
10 | |
9 |