You are viewing our older product's guide. Click here for the documentation of GoodData Cloud, our latest and most advanced product.
IN
The IN operator computes the metric from multiple attribute values. As a filtering operator, it includes two or more attribute values of interest, separated by commas.
Syntax
SELECT … WHERE … IN (…,…)
SELECT metric WHERE attribute IN (attribute_value1, attribute_value2)
Examples
SELECT Profit WHERE Year IN (2006, 2007)