Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Data source error: | Scheduled refresh is disabled because at least one data source is missing credentials. To start the refresh again, go to this dataset's settings page and enter credentials for all data sources. Then reactivate scheduled refresh. |
Cluster URI: | |
Activity ID: | 9a466e5d-c4b9-4ced-9e05-36cc0a0e9d54 |
Request ID: | c18c7178-5573-44ac-9533-a419111b0290 |
Time: | 2019-01-08 20:57:51Z |
Activity ID: | 8fb9708a-da0c-406c-a903-22616fb91a8c |
Request ID: | d6935e86-3dd1-8256-0fc9-8847e150235e |
Status code: | 400 |
Time: | Tue Jan 08 2019 21:17:14 GMT+0000 (Greenwich Mean Time) |
Version: | 13.0.7840.225 |
Cluster URI: |
Hi @Anonymous,
Actually, there are two parts of Python on Power BI. One is the Python visual while the other is Python script as a data source. The responses from the Product Team say the call from Python visual isn't supported, which means the Python visual only can use the local dataset. Form your description, if your data is not in the query editor(You could open the query editor to check it), you could not use the Python visual in Power BI Service.
The workaround could be loading all the data in your data model and then interact with Python visual.
Regards,
Daniel He
Hey Daniel,
Many thanks for your answer.
To give some more details:
In this case, I am not using a python visual. I am only using a python as data source ("get data") and in my script I am using different python libraries to extract and process the data (i.e. SQLalchemy, pandas, RE,...).
When I run the above in PowerBI desktop, everything is working perfectly. I am having trouble to schedule an automated daily refresh on PowerBI web.
Would you perhaps know to what kind of problem this might relate?
Thanks again for your precious help!
Cheers.
Hi @Anonymous,
Have you used the Python to get data for your Power BI report? For example, if you use below code to create a random data:
import random for x in range(10): print random.randint(1,101)
The data generated from python could not be used in Power BI Service due to the Power BI Service could not support it.
And if you use below code to fetch data from your local data or other database:
dataset = pandas.read_csv("C:\\path\\to\\my\\data.csv")
This way is also could not be supported in Power BI Service, but it could be used in desktop.
Hope it could help you.
Regards,
Daniel He
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.