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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
Gianluigi
Helper II
Helper II

export from visual table

Hello,

I've noticed that when I export a visual table to a CSV file and then import the CSV into Excel, the totals differ slightly.

It happens when the number of rows in the visual table is very large.

Has this happened to anyone else?

 

Best

6 REPLIES 6
cengizhanarslan
Super User
Super User

Power BI visuals often show formatted values (e.g., 2 decimals), but calculations use the full precision value.

When exporting:

  • CSV may contain more decimal precision than shown

  • Excel recalculates totals using raw numbers

  • Result → small differences in totals

Best practice to fix is to use same decimal number for both the measure and used field values used within it.

_________________________________________________________
If this helped, ✓ Mark as Solution | Kudos appreciated
Connect on LinkedIn | Follow on Medium
AI-assisted tools are used solely for wording support. All conclusions are independently reviewed.
MohdZaid_
Resolver II
Resolver II

Hey @Gianluigi  , 

 

Yes, this actually happens more often than people expect, especially when you’re dealing with large datasets. You’re definitely not alone in seeing this.

When you export a visual table from Power BI to CSV and then total it in Excel, small differences can appear for a few common (and totally normal) reasons.

 

First, the most common cause is rounding vs. full precision.

In Microsoft Power BI, the numbers you see in the visual are often rounded for display purposes for example, shown with 2 decimal places. But internally, Power BI stores and calculates using the full precision of the number.

 

When you export to CSV:

  • The full precision values are exported.
  • Excel then recalculates totals using those full precision numbers.

So what happens is:

  • The visual total is calculated using precise internal values.
  • In Microsoft Excel, if you sum the exported rows (especially if they’re displayed as rounded values), you may get a slightly different total.
  • With thousands (or millions) of rows, those tiny decimal differences add up.

That’s usually the number one reason.

 

The second common reason is how totals are calculated for measures.

If your column in the visual is actually a measure (not a simple column from your table), Power BI does something important:

The total is not always the “sum of the visible rows.”

Instead, Power BI recalculates the measure again in the total context.

For example:

  • A ratio
  • An average
  • A DISTINCTCOUNT
  • A weighted calculation
  • Any DAX measure with logic

In those cases:

  • The total in the visual is mathematically correct based on the DAX logic.
  • But in Excel, when you sum the exported rows, you’re just adding the visible results — which may not equal the recalculated total.

This difference becomes more noticeable when the row count is large.

 

Another factor can be data reduction or export type.

Depending on whether you exported:

  • “Summarized data”
  • Or “Underlying data”

You may not be exporting exactly what you think you are. If it’s summarized data, the aggregation might already be applied before export.

 

There’s also something called floating-point precision. Both Power BI and Excel use floating-point arithmetic. When you’re working with very large volumes of numbers especially decimals tiny precision differences can accumulate and show up in totals.

So to answer your question directly:

Yes, this has happened to many others. It’s expected behavior in most cases, not a bug.



If this solved your issue, please mark it as the solution so others can find it easily.

If it helped, a quick 👍 Kudos is always appreciated it helps highlight useful answers for the community.

Thanks for being part of the discussion !!!

Hello @MohdZaid_  , I understand that it's normal behavior. So there's no solution then? Thanks

Hey @Gianluigi  , 

 

Most commonly, this happens because of rounding. Power BI calculates using full precision in the background, even if the visual shows only two decimal places. When you export to CSV, the full precision values are exported, and Excel recalculates the total using those exact numbers. With a large number of rows, small decimal differences can add up.

 

If that’s the case, you can fix it by rounding the value directly in your DAX measure so both the visual and the export use the same precision.

 

Another common reason is when the column is a measure (like an average, ratio, or DISTINCTCOUNT). In those cases, Power BI recalculates the total instead of summing the visible rows. So when you sum the exported rows in Excel, it may not match and that’s expected behavior.

 

So it’s not a bug, but depending on the scenario, it can usually be controlled with rounding or by understanding how the measure total is calculated.

Gabry
Super User
Super User

Ciao Gianluigi,

when you export data to csv you have 30k rows limit. 
You can use excel to have bigger limits

 

export.png

thank you   @Gabry but that's not my case

Helpful resources

Announcements
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.

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.