Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello Team
I am using TM1 as a datasouce in power BI report using python script. The python script is working fine in desktop and fetching results.
when i publish the report in web and switch off my machine it is throwing error. I think it is reffering the istallation local machine.
how i can overcome the problem. Please help
Hi @karun218 ,
Does your problem have been solved? If it is solved, please mark a reply which is helpful to you.
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
Hi! When you work with python scripts in Power Bi you need a data gateway to refresh your data. Specifically a "Personal" mode of the gateway. Power Bi will ask a VM (local or cloud) with the gateway installed to refresh the python and the whole power query script to refresh your data. The VM will require a python installation with the libraries you are using in the script.
Here you have more info about gateway: https://docs.microsoft.com/en-us/power-bi/connect-data/service-gateway-personal-mode
I hope that helps,
P/D you can check more about python here: https://blog.ladataweb.com.ar/post/632504891894644736/qué-puedo-hacer-con-python-en-power-bi
Happy to help!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 56 | |
| 55 | |
| 32 | |
| 18 | |
| 14 |