--- title: "GetFilteredDatasourceFieldValues" slug: "getfiltereddatasourcefieldvalues" updated: 2024-05-04T19:39:38Z published: 2024-05-04T19:39:38Z canonical: "help.mail-and-deploy.com/getfiltereddatasourcefieldvalues" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mail-and-deploy.com/llms.txt > Use this file to discover all available pages before exploring further. # GetFilteredDatasourceFieldValues ### General The *GetFilteredDatasourceFieldValues* function returns a list of all values explicitly filtered on a field in a [datasource](/release34/docs/introduction-to-datasources). ### Syntax The syntax of the *GetFilteredDatasourceFieldValues* function is: GetFilteredDatasourceFieldValues Function Syntax GetFilteredDatasourceFieldValues ("datasource_name", "field_name") ### Examples In a [datasource](/release34/docs/introduction-to-datasources) that has "Africa", "Americas", "Asia" filtered, the following [Expression](/release34/docs/introduction-to-mail-and-deploy-expressions) returns a [list](/release34/docs/list) that contains the values "Africa", "Americas", "Asia", "Europe": GetFilteredDatasourceFieldValues Function Example GetFilteredDatasourceFieldValues("Executive Dashboard", "Region")