Doh! I found it.
Don't enter the {paramameter} into the query. Use the ? and an expression dialog will open below.
Thanks!