Page 1 of 1

Conditional filter in CrossDataband using expression.

Posted: Mon Mar 03, 2014 5:41 am
by shivkrsingh
Hi,
How can I apply conditional filter in crossdataband by using expression. I want to apply something like
if(Feature.Count%2==0)
{
Line==1 || Line== (Features.Count/(int.Parse(Quote.ChildQuoteExists)+1)-(Features.Count/(int.Parse(Quote.ChildQuoteExists)+1))/2)+1
}
else
{
Line==1 || Line== ((Features.Count)/(int.Parse(Quote.ChildQuoteExists)+1)-(Features.Count/(int.Parse(Quote.ChildQuoteExists)+1))/2)+1)+1
}

But when i do this it gives me error. how can I solve this kind of case.

Re: Conditional filter in CrossDataband using expression.

Posted: Mon Mar 03, 2014 6:02 am
by Alex K.
Hello,

Please try to use the IIF function.

Thank you.