I need help creating a formula in Webi report to calculate the grand mean for a set of data.
Here is an example:
Three locations where the same trial was conducted. Named “Location_ID”
For each trial there are four different experiments. Named "Exp_ID "
For each experiment at each location, there are a different number of observations made. Named “Observation”
See attachments for samples of data in both Excel and PDF format.
This formula is as close as I have been able to get, but it doesn’t work.
=Average([Observation] In ([Location_ID],[Exp_ID])) In [Location_ID]
Hi. Thanks for the quick response and welcome into the user group.
I created the variable and used it in a crosstab, but I have not been able to calculate the grand mean. The variable calculates the simple mean (the mean of each observation) but not the grand mean.
It’s possible I could just be missing some of the basics here, as I have only been using Webi a few months.
Could you provide a bit more instructions or perhaps a screenshot from Webi with it working properly? Thanks!