Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello everyone!
I am trying to schedule a refresh using Power BI Service for my dataset that contains Python script which is:
import pandas as pd
data = [['Alex',10],['Bob',12],['Clarke',13]]
df = pd.DataFrame(data,columns=['Name','Age'],dtype=float)
print (df)
I have a On-premises data gateway (personal mode) installed.
So far I’ve tried:
Privacy level of a source is set to Public both in PBI Service and PBI Desktop.
Python version: Python 3.10.2
Windows version: 21H1 Windows 10 Pro, Build 19043.1110
PBI Desktop version: 2.100.1401.0 64-bit
I am really confused. Any help is appreciated!
@chulpanvl Have you managed to find a way around it by any chance? I am having the exact same issue.
Are you using a normal python environment - Yes, I uninstalled Anaconda and now using just a normal python env.
and using an older version of python - Yes, I uninstalled 3.10 and reinstalled 3.7.7.
Does it refresh properly on the desktop - Yes, it doesn't throw any error messages.
In case If this info can help
My Python path
Data source settings
And a personal gateway seems to work properly
If there is no problem now, you can mark the reply that is helpful to you and close this thread. Thank you.
Best Regards,
Community Support Team _ Janey
Hi, @chulpanvl
Not sure if the latest version of python is supported according to the doc.
More details:
Learn which Python packages are supported - Power BI | Microsoft Docs
Create Power BI visuals using Python in Power BI Desktop - Power BI | Microsoft Docs
It is recommended to use an older version of python, and powerbi desktop and gateway can be downloaded the latest version normally.
I suggest you open the data source settings in desktop and delete the previous credentials and update it. Delete the original report in the service and re-publieh the report.
You can create a simple sample file to see if there is a problem.
Did I answer your question? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.
Best Regards,
Community Support Team _ Janey
Are you using a normal python environment and using an older version of python? Does it refresh properly on the desktop? If not, please show a screenshot of the error message.
Janey
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
23 | |
17 | |
10 | |
8 | |
8 |
User | Count |
---|---|
39 | |
27 | |
18 | |
14 | |
14 |