on-internet
← Community

In SSRS, how do I compare a value of a parent report item with report items in a child group?

Stack Overflow ·

I am using SSRS 2008. I have 3 different groups above my report details that are calculated sums. I am trying to color the limit red if any of the invoice sums(A) in a child group is above the limit(B). I am currently using this expression, but it is only looking at the first or last invoice amount. The limit report item is in a parent group just above the invoice's group. =IIF(ReportItems!Invoice_DueDate.Value>ReportItems!Limit.Value,"Red","Black") My Solution: I decided to use SQL to get the sum of the invoice amount grouped by due date. I then called that field in the parent group.

Comments

Sign in or sign up to comment and upvote.

No comments yet.