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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

Arrays and For Loops in Python Visual

I have a couple of tables that are linked in the relationship tab by date and serial number. I am able to pull the tables into the python visual.

 

I want to take one column in a table and put it into an python/numpy array. What would the formula be for that in relation with the data frame?

 

Eventualy I want a for loop checking the arrays before moving on. Is it possible to use for loops in python visual? 

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , You have to bring those tables using python do the operation dataset, and then print them to power bi

 

How to make Python work with Power BI: https://youtu.be/5D0BkNsu5CM

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi @amitchandak I have the data coming from sharepoint and our data historian. Is it not possible to use python visual on it? 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.