Home Ask Login Register

Developers Planet

Your answer is one click away!

harish February 2016

expression for if condition where i used both parameter and field values in with in if condition

I have written an expression like below ,but it is showing some error ,can any one help me with this....

=IIf(Parameters!Plan.Value=="all",IIf(Fields!Plan.Value=="freedom",count(Fields!No_Of_Admissions.Value),0), 0)

Thanks in Advance.


newGuy February 2016

Take a look at This.

Without much detail I'm thinking you want to do something like this.

=IIF(Parameters!Plan.Value="all" AND Fields!Plan.Value="freedom", count(Fields!No_Of_Admissions.Value),0)

Post Status

Asked in February 2016
Viewed 2,818 times
Voted 12
Answered 1 times


Leave an answer

Quote of the day: live life