merchant most_revenue(x) business intelligence functionality implemented