I am using the following expression to work out a percentage:
=Fields!Days.Value/Sum(Fields!Days.Value, "Date_month_name")
Days.Value is showing as 0 however in a few of my results instead of reading 0% in my percentage column it is actually reading NaN (Not a Number).
Does anyone know the exact expression forumla i need and where I should paste it in my current expression to say "Where NaN is showing, put a '0' instead?"
(See image)
I didn't have luck with the above answers. Here's what worked for me:
=IIF(Single.IsNAN(Fields!Days.Value/Sum(Fields!Days.Value, "Date_month_name")), 0, Fields!Days.Value/Sum(Fields!Days.Value, "Date_month_name"))