At some point in the past year, the functionality of totalsForAllResults changed. For a query that includes filters, the totalsForAllResults value
no longer reflects the filters.
For example, this query on a specific profile returns two rows, having filters=ga:sessions<10:
Result:
{ ...
"totalsForAllResults":{"ga:sessions":"2316"},
"rows":[["directmail","3"],["PR","1"]]
}
As you can see, however, totalsForAllResults is returning a much larger value - a value that is correct if no filters are applied.
Can this be fixed? The only alternative I see at this point is to resort to summing the row values, which is far from ideal.