I have a fact table X with Column Y and I have add it that column as a measure on SSAS 2012. The properties of that measure are AggregateFunction: Sum, DataType: Integer, source: X.Y, DataType: Integer, BindingType: Column binding, NullProcessing: Automatic.
On measure Group Properties, Error Configuration ReportAndStop, Key ErrorAction: DiscardRecord, KeyErrorLimit:0, KeyErrorLimitAction: stopprocessing. IgnoreUnrelatedDimensions:True.
When I add (only) this measure on the browser Grid I get 318597 and when I exec SELECT SUM(Y) FROM X
I get 990416. The same happens when I use the date dimension for year 2015 & 2016. The data are for testing. Any thoughts from where to start? Is wrong the sql query compared to SSAS measure?