0

enter image description here

How to replace null values in mdx.

Insane Skull
  • 9,220
  • 9
  • 44
  • 63
Yugandhar
  • 97
  • 9
  • 1
    I think this has already been asked: http://stackoverflow.com/questions/25851274/mdx-how-to-replace-null-values-with-0-in-measures-members – whytheq Mar 29 '16 at 09:36

1 Answers1

1

Maybe something like this:

WITH
  MEMBER [Measures].ComputerSalesNew AS
    iif(
       isempty([Measures].ComputerSales),
       0,
       [Measures].ComputerSales
    )
whytheq
  • 34,466
  • 65
  • 172
  • 267
  • hi @whtheq- can u please answer the below question http://stackoverflow.com/questions/36282243/mdx-i-need-column-count-based-on-the-total-rows – Yugandhar Mar 29 '16 at 10:57