← Back to Changelog

IN and NOT IN in LayersQL

A LayersQL query on the sales dataset showing FROM sales, SHOW SUM(total_sales), a highlighted new WHERE geo_country IN ('US', 'CA', 'MX') line marked NEW, and SINCE -30d

Filtering a LayersQL query down to a few countries or search terms used to mean stringing OR conditions together. WHERE now takes IN (...) and NOT IN (...), so geo_country IN ('US', 'CA', 'MX') does it in one line.

A list holds 1 to 200 string or number values, and a numeric dimension needs numeric values. Both operators work in dashboard reports and in queries your agents run through the MCP server.

They filter dimensions in WHERE only. HAVING still takes comparisons.

Learn more