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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
jq1992powerbi
Frequent Visitor

How to keep all rows (Even they are duplicates) in Power BI

Hi, I want to keep all rows from my table. Below is the sample file I use, after loading into power bi from excel, I have 13 rows in total. However, power bi only shows 10 rows (shown below) when I created a table using this data resource. Power BI automatically deleted 3 duplicated rows (same values in all columns)....but I want to keep all 13 rows. I have tried 'Keep Duplicates' in Queries, but doesn't work. Anyone help? Thanks!

2018-08-28 14_57_47-DAX Practice - Power BI Desktop.png2018-08-28 14_58_45-DAX Practice - Power BI Desktop.png

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

@jq1992powerbi,

 

You may check the post below.

https://community.powerbi.com/t5/Desktop/Two-rows-show-in-the-src-db-Advanced-Editor-Desktop-tbl-but...

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

View solution in original post

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@jq1992powerbi,

 

You may check the post below.

https://community.powerbi.com/t5/Desktop/Two-rows-show-in-the-src-db-Advanced-Editor-Desktop-tbl-but...

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

Thank you!

 

"I now understand that Power BI removes duplicate rows from a table by default. This is due to Power BI being a aggragation tool.

The way around this would be to create a index column to provide the uniqueness of rows. "

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.