Hi All
I'm sure this can be done but I'm new to data expressions and just cant seem to get started.
I have a dataset that has fields Species1, Species1Obs, Species2, Species2Obs, Species3, Species3Obs and so on
The species are defined via a dropdown list so what I want to do is to be able to sum the total number of observations per species across all fields. For example the data table might look something like this:
| Site | Species1 | Species1Obs | Species2 | Species2Obs | Species3 | Species3Obs |
| Little Swamp | Red Kangaroo | 5 | Wallaby | 3 | Eastern Grey | 10 |
| Big Swamp | Fox | 5 | Red Kangaroo | 10 | Eastern Grey | 5 |
What I want is to use a data expression so I can transform the data to use indicator(s) eg:
| Species | Total |
| Red Kangaroo | 15 |
| Wallaby | 3 |
| Fox | 5 |
| Eastern Grey | 15 |
It seems like it would be possible in a data expression, I just need some help with a starting point.
Cheers, Chris