Forum Discussion
MSuser5
2 years agoHelper III
MDX Query
Hi Team, I would like to calculate sum of value by excluding 'null' values in the column, I have tried in SSAS cube-new MDX as like below but the sum result is wrong instead of 9845 result is : ...
cpwebb
2 years agoMicrosoft Employee
I don't think the nulls are the problem - I don't see how they would result in a negative value here. What type of aggregation is your waitTimeInSec measure using? As I said, if you have already built a measure then writing something like sum([Measures].[Wait Time In Sec]) is redundant and [Measures].[Wait Time In Sec] should give you the same incorrect result.