Parameters in Where Clauses
RAQL does not currently support the :parm-name syntax in Where clauses to supply values for filter conditions from named parameters. You can, however, make RAQL queries dynamic by:
{$parameter-name}
To refer to input parameters or other variables defined in the mashup.
Building the entire query dynamically using the
EMML <assign> element and variables or input parameters in the mashup. This technique is useful when you need to dynamically set different aliases, functions or entire query clauses.
This example shows a simple Where clause where the threshold for a filter is supplied by an input parameter to the mashup: