Template or example of daily invoice by cashier

Hello Everybody.

I would love your help in pointing to a template or example on how to set up a table that takes orders from another table and gives a daily summary by cashier.

Table: Invoices
Invoice 1 - Jane - 3000 - 1/2/2021
Invoice 2 - Dave - 2000 - 1/2/2021
Invoice 3 - Jane - 2000 - 1/2/2021
Invoice 4 - Dave - 1000 - 1/2/2021
Invoice 5 - Dave - 1000 - 1/4/2021
Invoice 6 - Dave - 1000 - 1/4/2021

Desired Table
Each row by date and cashier
1-2-2021 Jane - Link Invoice 1 & Invoice 3 - Total = 5000
1-2-2021 Dave - Link Invoice 2 & Invoice 4 - Total = 3000
1-4-2021 Dave - Link Invoice 5 & Invoice 6 - Total = 2000

Hi @Silenus

Depending on your wish to add more information to the “desired table” or not, the quickest way is to just dubble group your “invoices” table.

Group by cashier + group by date.

image

1 Like

Thanks a lot.
Yes that solves my issue.
I just flipped your example and used the date first, so it groups by day then by user.

Now I’ll just check if I can get that data grouped like that from the API.

1 Like

This topic was solved and automatically closed 3 days after the last reply. New replies are no longer allowed.