Data Grouping in Portant Data Merge
How and when to use data grouping into your template document.
Last updated
How and when to use data grouping into your template document.
Last updated
Portant Data Merge can group data within your source spreadsheet and place it into tables within your document. If your source spreadsheet contains multiple rows that should be grouped and inserted into one table then this is the feature for you. A good example use case is when you need to include multiple Google Sheet rows into an invoice template or purchase order.
If you need to use this feature your source spreadsheet will normally have rows which are grouped together like the example below.
You can easily place a table into a document in a few easy steps:
Step 1
Add a table into the document (Insert > Table).
Note | You can also apply data grouping when using Google Slides as a template within your workflows.
Optional: You can add header and footer rows to the top and bottom rows of the table and format as appropriate. The additional rows will only be placed immediately after the row with tags.
Step 2
Then add the tags into the table. These are the tags of the data that will have multiple lines per document. Please ensure the tags are only added on one row.
Step 3
After you have inserted the tags you need to set the table grouping (Data merge Options > Data grouping). Then select the column the table data will be grouped by. This column needs to be unique (e.g. no columns which are named Invoice Number and Invoice No. with the same data in the column.
Step 4
In the example above we have grouped by invoice number because we want to create a separate document for each unique invoice number as shown in the source spreadsheet below.
After you have set up the grouping and other document settings (e.g. Document name, pdf or email etc) you can click the Create Documents button, and voila!, invoice will be made including tables with multiple lines from the spreadsheet source!
Note: You can only use data grouping in "Create multiple documents" mode. Ensure this is selected in the Data Merge box.
We created Portant in 2021 and the feedback we have received since then has been very helpful and greatly appreciated. If you have any feedback please feel free to send us an email at contact@portant.co or use our contact form here: https://www.portant.co/support
Thanks,
Blake and James