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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.