I have a calculated measure that works, but shows #VALUE! in Grand Total in Browser in SSAS. The Current Forecast for months1-3 have no values and greater than current month Qty Shipped contains no values when I drop those measures in Browser to help debug.
case
when [month part] >= [Current Month] then [Measures].[Current Forecast]
when [month part] < [Current Month] then [Measures].[Qty Shipped]
else 0
end
Any help to what whats wrong