Hi
I am calculating the averages of 2 fields. One field in main report and one field in subreport. The result of Average should be based on the Id's that are in mainreport and subreport. I need to link the Main report Id and Subreport Id. For this purpose I created a Id parameter at subreport query and I linked the main report field to this parameter field. If I do this I am not getting any result. How could I link this fields.
To be clear with the data
In main report data subreport data
ID Response ID Respone
111 6 111 8
222 10 122 10
333 15 133 12
444 20 222 16.
Only 2 IDs are in main report and subrpeort so I need main report average as 8 and subreport average as 12. Please let me know if you need more information.
I am calculating the averages of 2 fields. One field in main report and one field in subreport. The result of Average should be based on the Id's that are in mainreport and subreport. I need to link the Main report Id and Subreport Id. For this purpose I created a Id parameter at subreport query and I linked the main report field to this parameter field. If I do this I am not getting any result. How could I link this fields.
To be clear with the data
In main report data subreport data
ID Response ID Respone
111 6 111 8
222 10 122 10
333 15 133 12
444 20 222 16.
Only 2 IDs are in main report and subrpeort so I need main report average as 8 and subreport average as 12. Please let me know if you need more information.