I recently discovered that SSAS silently handles arithmetic overflow and returns garbage. For example when calculating aggregations for a 4-byte integer measure, when the sum exceeds the maximum storage it returns the overflow garbage instead of raising an error.
I can work round the problem by changing the measure storage to 8-bytes, but that doubles my storage and the number of bytes I have to read for the aggregate.
Is there a way round this problem that doesn't effect performance?

**View Complete Post**

## show data in grid view error Arithmetic operation resulted in an overflow.

sir

i have a table there is 17 columns in 17 column 3 are number and other are varchar . when i try to display all data of that column error occures.

one more intersting think is when i try to display 6 column then grid show there data an no more error occures.

when i run my project this error occures in grid view

Arithmetic operation resulted in an overflow.