Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Amir851
Helper I
Helper I

Dataset in Python visual is not loaded

Hi All,

 

When I try to drag and drop the fields from the table into python visual, I can see that python visual is not loading those fields into python visual as a data frame. 

Someone, please advise me on this and please let me know if I am missing something here.

Below is the sample screenshot for your reference

 

error.JPG

 

Thanks

Amir

5 REPLIES 5
V-pazhen-msft
Community Support
Community Support

@Amir851 

These are some related limitations of using Python in power bi, you can check:

You can also check whether Power BI supports your current Python version and update power bi desktop to the latest version

https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-python-visuals#known-limitations

https://docs.microsoft.com/en-us/power-bi/connect-data/service-python-packages-support#requirements-...

https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-python-scripts

https://community.powerbi.com/t5/Desktop/Can-t-Display-Python-Visual/m-p/680281

 

If so, can you click See details, we can better understand the error content inside.

Vpazhenmsft_1-1630315092919.png

 

Best Regards,

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Amir851 , Can you write some code and try.

 

Also, share the error  details from seeing details

How to create python visual: https://youtu.be/rX3-G8u5fwc

Did that already but if data frame is not properly loaded then how can I plot a chart. The issue is that the visual is not loading any fields into the dataset.

@Amir851 , Can you share a sample pbix after removing sensitive data.

Anonymous
Not applicable

Hi all, 

 

did you manage to solve this problem?

 

I'm having the same issue. It's really frustrating...

I've added a screenshot of my code down below. 

 

Some key points / information:

- Python visual is working fine, but not loading the data.

- My data is coming from a Power BI Dataset created and managed by my employer.

- I've created a new virtual enviroment and installed the compatible versions of python and the packages.

(with pip and conda - tried both)

- I'm working with Anaconda

 

Could it be that there a limitations when using a pre build Power BI Dataset?

(I'm not able to use the Power Query Editor on that dataset, nor can I combine it with a additional data source)

 

I would be extremely thankful if someone has a clue or solution for this problem!

 

Thanks in advance.

 

Best regards,

Felix

 

Screenshot 2021-09-10 082351.png

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.