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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Keeping Duplicate Values

I'm having an issue with Duplicate values. I get transactional data from Azure and the raw data comes in with approximately 150 columns of data. This data is then abbreviated into a table used for reporting that only has 32 columns. There should not be any duplicate values in this data, but I realized earlier this week that it was incorrectly removing some data. There is a column that we are not bringing into the smaller, abbreviated table that allows the rows to be differentiated from one another, but without that it is eliminating some rows that it should not be eliminating. 

 

The obvious way to solve this problem is to just bring the other column into the smaller table, but is there a way to just stop Power BI from deleting any rows that it sees as being duplicates? I know there is the Keep Duplicates button but I cannot figure out where in the query I should be putting it and which rows I should select to ensure that it prevents any duplicate rows from being deleted. Is there a way in Power Query to just prevent it from deleting any duplicate rows without having to select different columns?

1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

Is that what you are looking for?

Capture.PNG

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

Is that what you are looking for?

Capture.PNG

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

In my experience, PQ does not remove duplicates unless you issue a Table.Group or Table.Distinct. Do you have either of these in your query? If not, then the problem may be with the Azure queries.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Kudoed Authors