using the knowledge that the aggregate functions likwe Count work on non-null values, I defined a static function like so in the code behind (edited for brevity):
namespaceMy
{
usingSystem;
publicstaticclassFunctions
{
publicstaticobjectMatch(objectdata, objectmatch)
{
stringsData = Convert.ToString(data);
stringsMatch = Convert.ToString(match);
returnString.Equals(sData, sMatch) ? data : null;
}
}
}
and then (I did this in a Binding, but you should be able to do this anywhere) used the Expression
which yields the equivalent of a count where [Some Field] equals "test value", so you could do this like:
=Count(My.Functions.Match(Fields.Status, "A"))
The same approach could be used for more sophisticated conditions I expect - though my guess is that lambda functions are out in telerik reporting's expression syntax.
I have a group row all the columns grouping with same value, but only 1 column should be group with different value how to resolve this in telerik designer reporting .
Ex: col1(group A), col2(group A),col3(group A),col4(group A),col5((group B),col6(group A)