This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi guys,
I have two python scripts. Both https links are worked when I use them as "Web" sources.
However, when I try to use them as "python script" source, they return nothing and shows "no item selected for preview".
I tried these two scripts on my local CMD prompt with python, they returned the web pages successfully.
I am not sure that is the failure because these two websites are on my company's internal server? If so, why I can use "web" source to get data in power bi?
Solved! Go to Solution.
Hi @Anonymous ,
Based on my research, it does support other package, but imported data must be in a pandas data frame, you can refer to thread about how to store result in the PD data frame.
Best regards,
Hi @Anonymous ,
Based on this document, The Power BI Python integration requires the installation of two Python packages: Pandas and Matplotlib
When preparing and running a Python script in Power BI Desktop, there are a few limitations:
Best regards,
Hi @v-lid-msft ,
Thank you for replying. I have read this document .
Do you mean that, so far Power BI Python only support Pandas and Matplotlib packages?
Because I don't think these two packages can be used for API CALL.
Does that mean Power BI Python not support web API data pulling?
Hi @Anonymous ,
Based on my research, it does support other package, but imported data must be in a pandas data frame, you can refer to thread about how to store result in the PD data frame.
Best regards,
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 26 | |
| 25 | |
| 24 | |
| 21 | |
| 14 |
| User | Count |
|---|---|
| 53 | |
| 47 | |
| 23 | |
| 18 | |
| 18 |