Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

Simple Sum of decimal should be 0, but instead it is x.xE-10

$
0
0
Hello,I am struggling with this weird issue, using SSAS 2012 SP3:The cube is summarizing those exact values (leaf level), no MDX calculation involved there:2635760.2791882685.913107582.0522-2635760.279-1882685.913-107582.0522The sum should be 0, right? But instead the returned value (SSMS and/or Excel) is 4.36....E-10. If you try to copy/past those numbers directly in Excel, with format = general you will have the exact same result than SSAS (but it is correct if the format is set to number).The measure is based on a SQL Server view, datatype is numeric(24,8). Nothing is done to change this in the DSV (datatype = Decimal).Then my measure in the measure group it correctly set to double, and bids helper Measure Group Health Check is happy with that.The result different than 0 is an issue because some analysts are filtering value to show the 0...Any idea?

Viewing all articles
Browse latest Browse all 1341

Trending Articles