September 19, 2014 at 12:46 am
I have an ssrs Report which contains amounts for the months....
but for some months there is no amount
if there is no amount that month is hiding in my report
i have tried the below expression but iam not getting the months that contains no amounts and i want to place 0 in place of amounts for the months that contains no amounts.....
=iif(SUM(Fields!Performance_Amount_Usd.Value),SUM(Fields!Performance_Amount_Usd.Value),0)
can any one suggest me how to get all the months and how to place zero for the months that contains no amount.........
September 19, 2014 at 1:08 am
Have you tried the solution offered in this post? http://www.sqlservercentral.com/Forums/Topic688467-150-1.aspx
September 19, 2014 at 1:44 am
sorry iam not getting
i have to use one field that is performanceamount_usd only
can u please give me according to my requirement
Thank you
September 19, 2014 at 2:56 am
Allthough the offered solution in the post isn't excactly what you need, you are pointed to the use of "IsNothing". So implementing this in your code it will be something like:
=iif(IsNothing(SUM(Fields!Performance_Amount_Usd.Value)),0,SUM(Fields!Performance_Amount_Usd.Value))
September 19, 2014 at 11:09 pm
i have tried the below expression but iam not getting the months that contains no amounts and i want to place 0 in place of amounts for the months that contains no amounts.....
=iif(SUM(Fields!Performance_Amount_Usd.Value),SUM(Fields!Performance_Amount_Usd.Value),0)
and i also tried
=iif(IsNothing(SUM(Fields!Performance_Amount_Usd.Value)),0,SUM(Fields!Performance_Amount_Usd.Value))
but iam unable to get those months that contains no amounts....
is there any other way how to get all the months and how to place zero for the months that contains no amount.........
please help me...
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply