on 08-04-2020 6:57 AM
GH2 - Category
GH3 - Contract No
GH4 - Billing Item
GH5 - Project Phase
I have a subreport in the GH5a section pulling in estimated cost at the phase level. I created a shared var and placed it in the report footer. I then placed the shared var in the GH5b section of the main report. I can see the amount. But I can't do anything with it. I need to sum the phases estimate at the Billing Item level(GH4), the Contract No(GH3), and the Category(GH2). I think I need to create another variable that creates a total of the passed shared variable. But I do not know what I am doing.
Hi Nikki,
Shared variables are populated only after the subreport runs. Therefore, you can't use the shared variable in a section above the section that holds the subreport - it always has to be below it.
You could move a copy of the subreport to every group header section and link it on the group field. You can then use separate shared variables for each subreport to bring back the group's estimated cost subtotal.
You could also do this with a single subreport that's placed on the report header, however, this method needs some advanced formulae to display subtotals for each group.
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.