Unable to use variables in JSON SQL queries (Google sheets data set)

Hi @zp123 could you try using a JS query or transformer instead?

This works for me: