#Yourworldmap-sigma
1 messages · Page 1 of 1 (latest)
@torpid skiff You can certainly do that, query against charges and join with customers so you can split by address_country if you collect the customer address in your integration, or split by card_address_country in charges.
That's nice that you understand what I'm talking about.
But from my side, i don't know actually how to do that.
I just need to make a report for the past month and pass it to my accountant. But I do still not figure out how to do that.
I can't help you write the SQL query directly I'm afraid!
And where I can search for help with this question?
what kind of help are you looking for? Unfortunately we can't write the query for you, you'd need to write some queries to extra the data you're looking for and tweak things until you're happy with it!
I just need somehow make a report for monthly sales, in which all transactions are divided by country.
you can experiment writing queries using the tables I mentioned above and looking at the schemas for where the concept of 'transaction country' is, as I mentioned, card_address_country on charges is a good place to start.
Okay i'll try to do that, thank you.
Mate, i have spend 2 hours to make it work