As it is, when you calculate the average with the regular function, BO will not take into account the missing information.
| 2007 | 2008 | 2009 | |
| Dog | 10 | 10 | 10 |
| Cat | 10 | 10 | |
| Horse | 10 | ||
| Pony | 10 | 10 | |
| Average | 10 | 10 | 10 |
where it should be
| Average | 10(40/4) | 2,5(10/4) | 7,5 (30/4) |
The solution to this problem is : contexts.
First, we need to count the number of animals
| Count | 4 | 1 | 3 |
performing a regular count will not give us the right result.
Count(
| Count | 4 | 4 | 4 |
So, now we have our formula :
Sum(
Cheers folks
Binabik
Geen opmerkingen:
Een reactie posten