Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Using Slicer as AND Filter

Hi Everyone,

we have some data set as below.

 

ResponseFeatues

ResponseIDUserID SurveyIdRecordedDate
987xyzabc123 qwerty12 01.01.2020
765fsddef456 qwerty12 01.01.2020
456wqwabc123 dasdas23 02.01.2020

 

AnswerFeatures

ResponseIDUserIDSurveyIdQuestionIDAnswerChoice
987xyzabc123 qwerty12 Q1A
987xyzabc123 qwerty12 Q2A
765fsddef456 qwerty12 Q2C
765fsddef456 qwerty12 Q3D
456wqwabc123 dasdas23 Q1B
456wqwabc123 dasdas23 Q2C
456wqwabc123 dasdas23 Q3A

 

Firstly, I want to see which users submit one more survey when I select this survey on slicer. For example, When I select "qwerty12" and "dasdas23" surveys on the slicer, it show to me UserId "abc123". It must not be only 2 selection, It can be 2 more.

And so I want to see how many users submit selected surveys.

 
1 ACCEPTED SOLUTION

Hi @Anonymous 

 

Just got you, kindly add another measure:

Measure 2 = CALCULATE(COUNTROWS(FILTER(VALUES(AnswerFeatures[UserID]),[Measure]="1")))

 Put it into the card.

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

View solution in original post

16 REPLIES 16

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.