Yet more performance
Another performance boost.
This round of performance increases comes from the choice of what to iterate first, the dimension or the data. Previously it was dimension first, but on the assumption that there are more data records than criteria in dimensions, it is more performant to iterate the data only once.