Forum Discussion
Erro em script em python no Power Bi Online
- 1 year ago
Did you check if the library is supported?
Python visualizations in Power BI Service | Microsoft Power BI Blog | Microsoft Power BI
Learn which Python packages are supported - Power BI | Microsoft Learn
Did you set up a personal gateway? Was it running when you tried the report in the service?
- Anonymous1 year ago
Hi David_FGL,
Thanks for reaching out to the Microsoft fabric community forum.It looks like the problem which you are facing is coming maybe because of python visuals in PowerBi service runs on a cloud environment and not on your local system which has all the required libraries and APIs in the local environment. There may be some restrictions on the cloud environment that causes the issue with your scripts.
If this is the case then you can try to use PowerBi parameters to store your API key as its a security risk and won't work in the PowerBi service. Make sure that the workspace you are using might have the required permissions or settings enabled for Python visuals. Also as mentioned earlier by lbendlin, ensure that the libraries and dependencies which you are using are supported by PowerBi Service.If you have any other questions please feel free to contact me.
Best Regards,
Hammad.
Community Support TeamIf this post helps then please mark it as a solution, so that other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know.Thank you.
Hi David_FGL,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.