# Data Sources

Data Sources are used when generating PDFs from multiple records for label PDF generation. They enable you to specify the pool of records from which to generate labels.

<figure><img src="https://2707432902-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGZA5kgM4oTQMrpISbVT3%2Fuploads%2FCN5zczno90kCMs3ZjK5r%2F097.jpg?alt=media&#x26;token=e6a80645-bbd1-4897-a76f-d71d01db4f35" alt=""><figcaption><p>Data Source</p></figcaption></figure>

* **Source**: Table from which to retrieve records. This should correlate to the 'Source table' on the PDF Template record.
* **Query type**: Specifies how to gather records for the **Data Source**. Typically, 'Filter Builder' is recommended. Scripted options are available for advanced use-cases.
* **Exclude since last used**: Allows further filtering applied to data source
