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.
v-diye-msft
6 years agoCommunity Support
Hi Anonymous
Kindly let me know if you'd like to get below results:
Pbix attached.
Anonymous
6 years agoNot applicable
- v-diye-msft6 years agoCommunity Support
Hi Anonymous
I just removed the enhanced option, please also make sure you're using the latest desktop version, kindly check this one 🙂
- Anonymous6 years agoNot applicable
Hi v-diye-msft
I still see same problem. I have downloaded it in there : https://www.microsoft.com/en-US/download/details.aspx?id=56723
Best,
- v-diye-msft6 years agoCommunity Support
Hi Anonymous
Let me explain the details:
Please add the measure:
Measure = var t = CALCULATETABLE(VALUES(AnswerFeatures[SurveyID]),ALL(AnswerFeatures[SurveyID])) var a = ALLSELECTED(AnswerFeatures[SurveyID]) Return IF ( ISBLANK ( COUNTROWS ( EXCEPT ( a, t ) ) ), "Yes")It will filter the "AND" results from the selection of slicer.
There 2 tables connected by response ID. note that you can't use the SurveyId in ResponseFeature to filter the userID in AnswerFeature.