--- title: "GetDatasourceVariableValue" slug: "getdatasourcevariablevalue" updated: 2024-04-16T11:16:20Z published: 2024-04-16T11:16: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 variable. ### Syntax The syntax of the GetDatasourceVariableValue function is: GetDatasourceVariableValue Function Syntax GetDatasourceVariableValue ("datasource_name", "variable_name") ### Examples The following Expression returns 1 as the variable in the Datasource has the value 1: GetDatasourceVariableValue Function Example GetDatasourceVariableValue("Executive Dashboard", "vShowChart")