# DataTransfer.AddDestinationFilter(Integer, Text [, Any,...]) Method
> Version: _Available or changed with runtime version 17.0._
Adds a filter for the destination table for the data transfer.
## Syntax
```al
 DataTransfer.AddDestinationFilter(DestinationField: Integer, String: Text [, Value: Any,...])
```
## Parameters
DataTransfer
Type: datatransfer-data-type
An instance of the datatransfer-data-type data type.
DestinationField
Type: ../integer/integer-data-type
The field in the destination table to filter on.
String
Type: ../text/text-data-type
The filter expression. A valid expression consists of alphanumeric characters and one or more of the following operators: \<, \>, \\, &, |, and =. You can use replacement fields (%1, %2, and so on) to insert values at runtime.
*[Optional] Value*
Type: ../any/any-data-type
Replacement values to insert in replacement fields in the filter expression. The data type of Value must match the data type of Field.
## See Also
datatransfer-data-type
Getting started with AL<../../devenv-get-started>
Developing extensions<../../devenv-dev-overview>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/datatransfer/datatransfer-adddestinationfilter-method, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/methods-auto/datatransfer/datatransfer-adddestinationfilter-method/
