#angelachen103-sigma-sql
1 messages · Page 1 of 1 (latest)
I'm trying to get a breakdown of revenue by product and tierID-- tried joining invoices, subscriptions, prices, and products, but I get an over-inflated number. trying to see if I can use balance_transactions table instead but not sure how to join...any help would be appreciated!
I can try and give some pointers/sugestions, but if you need more specific SQL help this isn't the best place
Are you making sure to check that the invoices you're going through have a paid status?
thanks for much karbi--yes I did, filtered by using WHERE invoice.status= 'paid'
What number are you actually comparing to?
comparing to total monthly revenue for Feb from balanced_transactions table
it's the monthly summary and balance template in Stripe
also, do you know where would be the best place to get more specific SQL help? for future reference
You can try asking support (https://support.stripe.com/contact), but other than that there isn't really a good place to ask
I see, okay