If you want to use Python scripts with published reports, then you'd either need to... 1. Update data locally, and republish to update the report in Power BI service 2. Install a Data Gateway and configure the published report to update via the data gateway (which will connect to a machine with Python installed, and run the script). It seems you'd need to use a personal data gateway... powerbi.microsoft.com/en-us/gateway/ learn.microsoft.com/en-us/power-bi/connect-data/service-gateway-personal-mode