when revenue chart types are chosen, the stat_type is changed to 'converted' which is the proxy stat for when revenue could be attributed. Otherwise, the queries were looking for 'revenue' in the type column which doesnt exist as a value, so it scanned ever row in a giant table and timed out.
when revenue chart types are chosen, the stat_type is changed to 'converted' which is the proxy stat for when revenue could be attributed. Otherwise, the queries were looking for 'revenue' in the type column which doesnt exist as a value, so it scanned ever row in a giant table and timed out.