Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
sklein
Regular Visitor

Automatic refresh using a Python script that contains environment variables

I am getting an error when trying automatically refresh my report that is using a Python script that contains os environment variables. No issue when running the refresh within the report. I can't provide the error message at this time as it looks like Power BI is having an issue refreshing all Python scripts. I have tried this script on seperate servers. One server it couldn't read any of the os environment variables while the other server it was able read all but one os environment variable.

1 REPLY 1
lbendlin
Super User
Super User

needs more details. Is the personal gateway installed and running?  What's the rationale behind needing to retrieve OS env variables? Which machine do you expect these values to come from?

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors