Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi all,
I have a power bi desktop file, here I have a phyton model for predictions. unfortunately I can't use this model in a power bi service. does anyone have an idea how to expose a predictive model for the Power bi service.
Rg Peter
Solved! Go to Solution.
You will need Fabric capabilities.
Service does not have enough py-libraries out of the box.
Regards
Hi @PeterParker ,
According to your description, if you want to use python model in power bi service. First, you need to manipulate the data on the power bi desktop side. Then upload the data after the manipulation to the power bi service. to refresh the Python model in the Power BI service, you need to configure a scheduled refresh and make sure that the Power BI gateway is installed and configured on the computer where the Python environment and the .pbix file are located.
You can check out this document for more details on running python scripts on power bi destop
Run Python scripts in Power BI Desktop - Power BI | Microsoft Learn
Best regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @v-heq-msft ,
thanks for your replay.
if I use phyton scripts for graphics, this already works in the Power BI service. I have already had good experiences here. In my example with the Phyton Scikit Learn model, which I included as a step in Power Query. I get the following message when configuring the gateway (on-premises). The data source csv and model are in the same directory.
Regards Peter
You will need Fabric capabilities.
Service does not have enough py-libraries out of the box.
Regards