--- title: "GetDatasourceVariableValue" slug: "getdatasourcevariablevalue" updated: 2024-05-04T19:38:20Z published: 2024-05-04T19:38:20Z canonical: "help.mail-and-deploy.com/getdatasourcevariablevalue" --- > ## 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. # GetDatasourceVariableValue ### General The *GetDatasourceVariableValue* function returns the value of a [datasource](/release34/docs/introduction-to-datasources) variable. ### Syntax The syntax of the *GetDatasourceVariableValue* function is: GetDatasourceVariableValue Function Syntax GetDatasourceVariableValue ("datasource_name", "variable_name") ### Examples The following [Expression](/release34/docs/introduction-to-mail-and-deploy-expressions) returns 1 as the variable in the [Datasource](/release34/docs/introduction-to-datasources) has the value 1: GetDatasourceVariableValue Function Example GetDatasourceVariableValue("Executive Dashboard", "vShowChart")