This is a migrated thread and some comments may be shown as answers.

Filtered Subtotals

1 Answer 67 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jonathan
Top achievements
Rank 1
Jonathan asked on 13 Sep 2011, 05:42 AM
I'd like to subtotal  items based on a boolean field in the datasource that is not being grouped on.  So my subtotal would look like:

= Sum(Fields.DemandAtMemberPeak) where Fields.Include = 1

if this were indeed the correct syntax.  It doesn't run and the sub-report just shows a a red box.  How would I create a subtotal that filters on another field in the datasource?

Thanks Much

Jonathan

1 Answer, 1 is accepted

Sort by
0
IvanDT
Telerik team
answered on 15 Sep 2011, 02:16 PM
Hello Jonathan,

In Telerik Reporting you can use in the Expressions not only Aggregate Functions but also Functions and User Functions. We are suggesting to you to check our online help in order to get more information about the topic and especially for IIf function which can help you in your case. You can check the following articles:



All the best,
IvanDT
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
General Discussions
Asked by
Jonathan
Top achievements
Rank 1
Answers by
IvanDT
Telerik team
Share this question
or