In MDX how do you fill out with zeros the null/empty values, example:
If I have a dimension A
and two measures X
and Y
, after MDX query I got this:
("-" represents "null" or "empty" values)
X Y
A.A1 1 -
A.A2 - 2
A.A3 - -
If I use "NON EMPTY" A.A3
is gone, but when trying to use CoalesceEmpty
to fill out with zeros I got this:
X Y
A.A1 1 0
A.A2 0 2
A.A3 0 0
Suppose that there are too many tuples like A.A3
and I don't want to show then, how do i fill out the empty values with zero and do not show the tuples that are empty in all the columns.
the result must be:
X Y
A.A1 1 0
A.A2 0 2
Note: I did try with filter
but I didn't get any improvement