Medium severitydata integrity
Power BI Refresh Error:
8115
What does this error mean?
A calculation produced a value outside the range of the target data type — the result is too large or too small to store.
Common causes
- 1A SUM() or multiplication on an INT column produces a result exceeding 2,147,483,647
- 2DECIMAL precision and scale settings are too small for the computed value
- 3A date calculation results in a date outside SQL Server's supported range
How to fix it
- 1Step 1: Cast the column to a larger type before aggregation: SELECT SUM(CAST(col AS BIGINT)) FROM table;
- 2Step 2: Increase DECIMAL precision: change DECIMAL(10,2) to DECIMAL(18,2) in the column definition or calculation.
- 3Step 3: For date overflows, validate dates before calculation: SELECT * FROM table WHERE date_col > '1753-01-01' AND date_col < '9999-12-31';
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/sql/relational-databases/errors-events/mssqlserver-8115-database-engine-error