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
minhduc2211
Regular Visitor

Duplicated data when importing files from Folder

Hello,

 

I have a table called FACT_Zeiten in Power BI that gets data from an OneDrive folder.

This OneDrive folder has multiple Excel files, with identical data structures, one for each month.

I just added one new Excel file to the folder and refreshed it in Power BI, then noticed a strange behavior: some values were randomly repeated.

The source data (the Excel file) has 1515 rows, but 1530 rows were imported into my Power BI Table.

I copied the Power BI table and put it side by side the Excel table to see what happened, and I found for example all rows of Böhme, Toni are repeated

  • Data in Excel, one row for one day in March 2020minhduc2211_1-1617007283321.png
  • Data in Power BI are repeated minhduc2211_3-1617007346532.png

     

What strange is only a few rows are repeated, which I think is random.

Any ideas what could be the cause here and how could I solve this, also for future import?

 

Thanks in advance!

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi, @minhduc2211 

As a workaround, for multiple duplicate data imported into the pbix file in import mode, maybe you can consider deduplicating the data directly.

select all columns(ctrl+a) ->right click ->click 'remove duplicates'

63.png

Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

lbendlin
Super User
Super User

What kinds of transforms do you run in Power Query?  Are you sure there are no hidden rows in the Excel table?

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.