The API does not seem to be anything, but if you want to avoid filterRange, you can use two main filters with it and coordinate the results:
var paymentsByType = payments.dimension(function(d) { return d.type; }), cashAndVisaPayments = Array.prototype.concat(paymentsByType.filter('cash').top(Infinity),paymentsByType.filter('visa').top(Infinity))
user918938
source share