Hi!
I need grouped data in my Report and show summarize in GroupHeader Or GroupFooter.
Sum(Field1) & Sum(Field2)
And calculate newField from Sum(Field1) & Sum(Field2).
so:
If Sum(Field1) = 0 Then
newField = Sum(Field2)
Else If Sum(Field2) = 0 Then
newField = Sum(Field1)
Else
newField = Sum(Field1) / Sum(Field2)
End If
How to do create newField that show in all groups?
How to do create newField from other field in GroupHeader or GroupFooter?
How to do create newField from other field in GroupHeader or GroupFooter?
Hi
You can use IIF function and Totals for this as you can see it in the attached report. Please open it in the Demo.exe sample application from the standard installation.
Thank you.
You can use IIF function and Totals for this as you can see it in the attached report. Please open it in the Demo.exe sample application from the standard installation.
Thank you.
- Attachments
-
- 221.SimpleGroupTotalsIIF.mrt
- (20.52 KiB) Downloaded 178 times
How to do create newField from other field in GroupHeader or GroupFooter?
Hi.
Thank you for answer.
I can't use IIF. Because I have more one conditions and IIF use for one condition. I use Switch structure And resolve my problem.
Thank you for answer.
I can't use IIF. Because I have more one conditions and IIF use for one condition. I use Switch structure And resolve my problem.
How to do create newField from other field in GroupHeader or GroupFooter?
Hi
Please let us know if any help is required.
Thank you.
Please let us know if any help is required.
Thank you.