--Correct one, ignore my previous post
--Correct one, ignore my previous post
MEMBER [MEASURES].[ZeroValuePerUnit] as
(iif([MEASURES].[ZeroValuePerUnit]=0 OR ISEMPTY([MEASURES].[ZeroValuePerUnit]),[Measures].[NullValuePerUnit],
[Measures].[Internet Sales Amount]/[Measures].[ZeroValuePerUnit]),
Format_String = '#.#0'