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
prakash11440278
Post Prodigy
Post Prodigy

Python Script editor - Duplicate rows will be removed from the data

Hi All,

I have created a python visual using python script. While creating the visual i have observed duplicate records are automatically removed in the script itself. I dont want to remove the duplicate records in my visual. Please help me how can i keep the duplicate records in my python visual. Below is the warning message displaying in python visual script editor. Thanks.

 

prakash11440278_0-1666758184199.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@prakash11440278 , Add some kind of index column or rank columns

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

View solution in original post

2 REPLIES 2
in_serch_of_AHH
Frequent Visitor

2023-06-07_14-11-53.jpg

 

Thank you for the tip @amitchandak !  This helped me produce my first python visual in Power BI.  For the longest time I was struggling to understand why I was getting the visual on the left, rather than the right. 😖

amitchandak
Super User
Super User

@prakash11440278 , Add some kind of index column or rank columns

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

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric 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.