Count Filtered result
I have two modules, let's say M1 and M2. In M1, the dimensions are Users and Activity (List of activities). In M2, the dimensions are Styles and Time. I have made a filtered (Style filter) which filters styles in M2 according to the selection made by the user in M1. If there is no selection made, M2 shows all the styles.
Now, I want to create a target module where I want to count filtered styles and M2."Boolean 1" true with respect to time. M2 also has a Time filter which filters Styles based on time.
Scenario 1 :- If user select Activity 2 and Activity 3 in M1 then I want to count the number of styles which are filtered by "Style filter" and having M2."Filter 1" true. These are styles which are classified as Activity 2 and Activity 3. "Style filter" filtered them after user made selection in M1.
Scenario 2 :- If user doesn't select any activity then I want to count all the styles for which Boolean 1 is true.
P.S.:- I have attached the basic structure of all three modules with this post.