Greetings,
I have a report that only displays the group level summary (no detail section) All quantity fields in the group are based on calculated running sum fields (shared variables) in the suppressed detail section. There's quite a few conditions that must be evaluated for the quantity to "qualify" for being added to the running sum. There's also similar running sum formulas for adding group totals to get a grand total.
All of this works fine and the quantities are correct. The problem is that the report requires a "% of total" column on each group summary. Since the total is not known until the end of the report, this is not easy to do. I need a way to capture the grand total somehow, and use it to determine the perccentage "earlier" than is should be used.
I tried creating an array (whilereadingrecords), using the same conditions that create each summary, then using the sum of the array elements, but the array didn't populate. (Created it in the report/selection criteria code)
Any tricks to get around this?
I have a report that only displays the group level summary (no detail section) All quantity fields in the group are based on calculated running sum fields (shared variables) in the suppressed detail section. There's quite a few conditions that must be evaluated for the quantity to "qualify" for being added to the running sum. There's also similar running sum formulas for adding group totals to get a grand total.
All of this works fine and the quantities are correct. The problem is that the report requires a "% of total" column on each group summary. Since the total is not known until the end of the report, this is not easy to do. I need a way to capture the grand total somehow, and use it to determine the perccentage "earlier" than is should be used.
I tried creating an array (whilereadingrecords), using the same conditions that create each summary, then using the sum of the array elements, but the array didn't populate. (Created it in the report/selection criteria code)
Any tricks to get around this?