Server User Guides > Survey Tabulation > Advanced expressions > Operators > Categorical set logic > Difference
 
Difference
The difference (/) operator returns the categories that are in either category list, but not in both category lists. The category order from the list on the left is maintained above the one on the right.
Examples
Result
{5,2,1,8,6} / {1,5,3,9,7}
{2,8,6,3,9,7}
{FOSSILS, BIRDS, WHALES} / {WHALES, BIRDS, FOSSILS}
{ }
{FOSSILS, BIRDS, WHALES} / {MINERALS, ECOLOGY, BIRDS, FOSSILS}
{WHALES, MINERALS, ECOLOGY}
See also
Categorical set logic