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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
mesuyog
Regular Visitor

Data row count changes after export

Hi I have imported the data into power bi desktop. After import when i put the same data into table it and extracted the same. The row count reduces. When i count the rows using "countrow" the count is correct but when i export the file it gets reduced. 

The total row count is : 4198 Correct One !

After extract from table : 3970 Reduced One !
I have cross checked following things 

  1. I have not applie any filter.
  2. Created only table having one column in it.
  3. Data type is Whole Number
  4. No erros.
  5. Perfored this with Matrix but it removes duplicates i want to keep them. 
1 ACCEPTED SOLUTION
JirkaZ
Solution Specialist
Solution Specialist

Then you can add an index column to your data and add it to the exported table. That should prevent the duplicates being removed. 

 

Anyway using Power BI as an "Excel" exporter is not really what it's built to do. 

If you really need to use the data in Excel, use Analyze in Excel instead.

View solution in original post

6 REPLIES 6
JirkaZ
Solution Specialist
Solution Specialist

If you put a number field into matrix "Values" section, it will automatically perform the defined aggregation (typically SUM). If you put it in the rows or columns section, it will remove duplicates. That's a standard and expected behavior. 

 

You can use the standard table and set the field to "Do not summarize".

Thanks for the solution....but I have used Table only and made it do not summarize ... still its giving the same issue...

JirkaZ
Solution Specialist
Solution Specialist

Then you can add an index column to your data and add it to the exported table. That should prevent the duplicates being removed. 

 

Anyway using Power BI as an "Excel" exporter is not really what it's built to do. 

If you really need to use the data in Excel, use Analyze in Excel instead.

Thank you...Indexing worked....

amitchandak
Super User
Super User

@mesuyog , if you are checking the number of rows vs row count measure, then you should sum up and check the row count measure after download, Most of visuals in power bi group the data by default. Means duplicate values(set of values) are not repeated

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks for the solution....but ...No i don't want to do any operations on the data just want to export as excel.....i have used COUNTROW just to crosscheck ... 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.