i made the calculated measure in ssas multidimensional cube i want to ask that where is wrong in code
i want to check two dimension values
if DIM SALES ALL CHANNELS].[PO NUMBER] is not null And DIM_CATAGEORY.VALUE = 'soos'
THEN gross_excluding_vat
ELSE
gross_amount
i write this but its showing error and null values
IIf([DIM ITEM].[TAX CATEGORY CHANNELS].CURRENTMEMBER IS [DIM ITEM].[TAX CATEGORY CHANNELS].&[SA OOS], IIF([DIM SALES ALL CHANNELS].[PO NUMBER].[],[Measures].[GROSS EXCLUDING VAT],[Measures].[GROSS AMOUNT])
,[Measures].[GROSS AMOUNT])