Filtering Using Containers and Attributes
Filtering Using Containers and Attributes
Now consider the above example for “yellow” “scarf”. This means the filters
inside the same container would have been (color = “yellow” and type=”scarf”)
and lets say your segment has just this one container and below is your data
set.
Ind Id Product Id Product Product Container
Color Type Condition
1 1 yellow brush False
1 2 red scarf False
2 4 yellow scarf True
3 5 blue scarf False
4 6 yellow towel False
4 7 yellow scarf True
Now your final population(Individuals) as part of the segment result would be
just 2,4. Since these were the only data rows satisfying both the conditions.
Here in this example there are two containers, Let's say C1 ( color = “yellow” )
and C2 (type = “scarf”) and your segment looks like C1 AND C2. Consider the
same data set as in scenario 1 , we will see what will be the result here and how
it differs from Scenario 1.
Conclusion
Now if you see here, the 1st individual had two different events, one where he
had a “yellow” brush and another where he had a red “scarf”.
In the first scenario, we checked for a single row(event) which would satisfy
“yellow” “scarf” and 1 didn’t have any such event and hence was not part of the
segment result.
But in the second scenario , this individual(1) satisfied both the conditions
separately and since the containers were joined through AND , it finally ended
up in your segment result.
Hence, having filters in the same container and having them in different
containers with the same logical operator means different for related attributes
and your final population might differ. So if you need to have filters applied on
attributes of same related engagement event use setup like scenario(1) and if
you are filter applied on any related related engagement event use setup like
scenario(2)