Group within a PDF

Hello, I am very stuck trying to generate a PDF, based on two tables, [Customers] and [Invoices], when creating the document in Docs if you create the relationship and show the Client with their Invoices.
Now the doubt;
The [Invoices] table has among other Columns, Currency (USD, $) and Stratus (Expired, To expire), How could you group by Currency and by Status

3 Likes