Forum Discussion
Using Slicer as AND Filter
- 6 years ago
Hi Anonymous
Just got you, kindly add another measure:
Measure 2 = CALCULATE(COUNTROWS(FILTER(VALUES(AnswerFeatures[UserID]),[Measure]="1")))Put it into the card.
Hi Anonymous ,
The simplest way to achieve this is:
- Create a Slicer on your report and move SURVEYID to it.
- Create a table visual and move USERID column to it.
Now try selecting differebt values from your slicer, it should give you required result.
Thanks,
Pragati
Hi Pragati11,
I'm sorry but it is not working. Because If I select one more SurveyID in the slicer, It shows to me users which submit one or more this surveys. But I need users which submit all selected Survey. I need intersection users for this Surveys.
Best,
- Pragati116 years agoSuper User
Hi Anonymous ,
Can you kindly put some screesnhots of the visual you tried and what is wrong and what is expected?
Thanks,
Pragati
- Anonymous6 years agoNot applicable
Hi Pragati11
When I select SurveyId="qwerty12" it shows to me 4 UserID:
And If I select SurveyID="dasdas23", I see 2 user:
As you can see, When I select both "dasdas23" and "qwerty12", UserID must be show onlt "abc123" because it is submit both "dasdas23" and "qwerty12". But now I select "dasdas23" and "qwerty12" it shows to me:
Slicer always works as a "OR" filter, I need "AND" filter
- Pragati116 years agoSuper User
Hi Anonymous ,
First thing slicer doesn't work as an OR, it works as an AND when multiple values are selected.
Second thing, in your previous screesnhot for data tables, I don't see all the users that you have shown in your current screesnhot.
Am I missing something or you shared data table screesnhots as an example for 2 users only?
Thanks,
Pragati