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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Anonymous
Not applicable

Remove Duplicates - Challenge!

Hello All,

 

Having difficulties with a table. I need to reduce its size to increase performance by selectively removing duplicates. Ideally I would like to do this via PowerQuery. If I must a calculated table would work. Here is a sample of the data. What I am hoping to do is to remove each duplicate in the "Cost" column for each consecutive date for each item. In the table below I indicate the entries that should be removed. The table is currently 350,000 rows and I think it can be reduced to under 100,000. It feeds a complicated dax query that takes a long time to run against such a large table. Please advise.

 

Data:   Result:  
       
Item No.DateCost Item No.DateCost
111111/1/202010 111111/1/202010
111112/1/202010 111113/1/202011
111113/1/202011 111117/1/202012
111114/1/202011 111119/1/202013
111115/1/202011 222221/1/20209
111116/1/202011 222222/1/20208
111117/1/202012 222224/1/202010
111118/1/202012 222229/1/202012
111119/1/202013    
222221/1/20209    
222222/1/20208    
222223/1/20208    
222224/1/202010    
222225/1/202010    
222226/1/202010    
222227/1/202010    
222228/1/202010    
222229/1/202012    
1 ACCEPTED SOLUTION
Anonymous
Not applicable
2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

It's pleasant that your problem has been solved.

Thanks for your sharing.

 

Best Regards,
Community Support Team _ Eason

Anonymous
Not applicable

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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