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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Pbiuserr
Post Prodigy
Post Prodigy

Not same number of rows after creating new table

Hello,

I've imported 6,202,519 rows from my cloud, and I want to get two columns - ID and DataCod from this table. When I do SUMMARIZE/SUMMARIZECOLUMNS with these, I got 6,202,517 rows as a result. How to see which entires have been omitted, and why does it happen? It supposed to transfer all of them, as far as I know?

 

Thank you in advance

1 ACCEPTED SOLUTION
johnt75
Super User
Super User

Its possible that there are duplicate entries in your source data.

You can see which, if any, rows have been omitted by creating a table like

Missing rows = EXCEPT(
SELECTCOLUMNS( 'Source Table', 'Source Table'[ID], 'Source Table'[Code]),
SELECTCOLUMNS( 'Summary Table', 'Summary Table'[ID], 'Summary Table'[Code])
)

and you can see if there are any duplicates by creating a measure like

Num Rows = COUNTROWS('Source Table')

and putting that into a table visual with the ID and Code from the Source table, sorted by num rows descending

View solution in original post

2 REPLIES 2
johnt75
Super User
Super User

Its possible that there are duplicate entries in your source data.

You can see which, if any, rows have been omitted by creating a table like

Missing rows = EXCEPT(
SELECTCOLUMNS( 'Source Table', 'Source Table'[ID], 'Source Table'[Code]),
SELECTCOLUMNS( 'Summary Table', 'Summary Table'[ID], 'Summary Table'[Code])
)

and you can see if there are any duplicates by creating a measure like

Num Rows = COUNTROWS('Source Table')

and putting that into a table visual with the ID and Code from the Source table, sorted by num rows descending

Hello @johnt75 ,

Missing rows table gives no result, as the unique values are the same in both tables. I dont know, should I try add every next column to SummaryTable and see in which number of rows increases?

EDIT: I've managed to run countrows on the datecode and see where is discrapency, then add layer of ID and sorted descending, getting one ID having 2 entires instead of 1. Thank you very much!

Helpful resources

Announcements
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