Forum Discussion
Anonymous
6 years agoNot applicable
Using Slicer as AND Filter
Hi Everyone, we have some data set as below. ResponseFeatues ResponseID UserID SurveyId RecordedDate 987xyz abc123 qwerty12 01.01.2020 765fsd def456 qwerty12 01.01.2020 ...
- 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.
Pragati11
6 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
Anonymous
6 years agoNot applicable
Hi Pragati11 ,
Yes you can see my sample data table below:
| ResponseID | UserID | SurveyID | RecordedDate | Language | Duration | Finished |
| 987xyz | abc123 | qwerty12 | 1.01.2020 | EN | 100 | True |
| 765fsd | def456 | qwerty12 | 1.01.2020 | EN | 80 | True |
| 456wqw | abc123 | dasdas23 | 2.01.2020 | AR | 92 | True |
| 849sda | fds234 | qwerty12 | 2.01.2020 | AR | 76 | False |
| 344kjd | gfds23 | dasdas23 | 2.01.2020 | EN | 97 | True |
| 873jha | ddsa23 | ghst562 | 2.01.2020 | EN | 75 | True |
| 927hsg | dada23 | ghst562 | 3.01.2020 | EN | 94 | False |
| 773dad | 54fsd | qwerty12 | 3.01.2020 | EN | 73 | True |
Actually, I need as this solution:
https://medium.com/seismic-data-science/changing-or-to-and-logic-for-power-bi-slicers-1a6b20aee5f5. But it is working very slowly. So I think that I must solve this problem different way.