eriktoronto
Programmer
I need to do a calculation based on the report data and use that calculation in the report detail section. Is it possible?
The tables are:
Group 1: Building
Group 2: Floor
The report runs for a building, looks at each floor, and looks at each space on the floor (to pick up office sq ft)
In the detail section, it reads each space record and sums the sq ft and groups by floor. On each floor record, it picks up the floor area sq ft number (stored on the floor record which is group 2).
Floor Space ID
001 100 100 sqft
001 200 200 sqft
001 300 100 sqft
Floor 001: 400 sqft Floor Record: 500 sqft
002 100 150 sqft
002 200 200 sqft
002 300 100 sqft
Floor 002: 450 sqft Floor Record: 500 sqft
Report Footer:
Building Total sum: 850 sqft
Floor Record Running Total: 1000 sqft
Ratio: 0.85
(Ratio = Building Total / Floor Record running total)
Is it possible to use the Ratio field that is displayed in the report footer section (Building Total / the running total that is evaluated for each group 2 floor record that is read) and multiply this value by the detail record (space sq ft)
For example, on floor 001, space id 100, we would want to multiply the detail record sqft value of 100 sqft by the report footer Ratio value (0.85).
=========================================================
So far I have not been able to access the Ratio formula value in the detail section of this report. As it is using a running total, when I try to access the Ratio formula in the detail section, the value is a moving target/work in progress as it is being generated as the report is processing.
The final value is not generated until the report footer section.
Is there any way that a formula that is calculated in the report footer that uses a running total based on a group value (group 2) can be accessed in the detail section of a report? With the final correct value? I don't think it will work as the Ratio formula is not finished its calculations until the report footer section (once processing has completed)
Thanks
The tables are:
Group 1: Building
Group 2: Floor
The report runs for a building, looks at each floor, and looks at each space on the floor (to pick up office sq ft)
In the detail section, it reads each space record and sums the sq ft and groups by floor. On each floor record, it picks up the floor area sq ft number (stored on the floor record which is group 2).
Floor Space ID
001 100 100 sqft
001 200 200 sqft
001 300 100 sqft
Floor 001: 400 sqft Floor Record: 500 sqft
002 100 150 sqft
002 200 200 sqft
002 300 100 sqft
Floor 002: 450 sqft Floor Record: 500 sqft
Report Footer:
Building Total sum: 850 sqft
Floor Record Running Total: 1000 sqft
Ratio: 0.85
(Ratio = Building Total / Floor Record running total)
Is it possible to use the Ratio field that is displayed in the report footer section (Building Total / the running total that is evaluated for each group 2 floor record that is read) and multiply this value by the detail record (space sq ft)
For example, on floor 001, space id 100, we would want to multiply the detail record sqft value of 100 sqft by the report footer Ratio value (0.85).
=========================================================
So far I have not been able to access the Ratio formula value in the detail section of this report. As it is using a running total, when I try to access the Ratio formula in the detail section, the value is a moving target/work in progress as it is being generated as the report is processing.
The final value is not generated until the report footer section.
Is there any way that a formula that is calculated in the report footer that uses a running total based on a group value (group 2) can be accessed in the detail section of a report? With the final correct value? I don't think it will work as the Ratio formula is not finished its calculations until the report footer section (once processing has completed)
Thanks