Forum Discussion
Dark_Bi
4 years agoRegular Visitor
Filter Users that does not match both status
Hi, I am trying to filter users that are as "Status" only Concluded, but are not Active. For example : Paolo Pio was in a class Concluded but is also in a class Active so I should exclu...
- 4 years ago
Hi Dark_Bi
Use this measure to filter your visuals:
Measure = Var _Status = filter(addcolumns(all('Table 1'),"ST",RELATED('Table 2'[Status])),[ST]="Active") Var _A = SUMMARIZE(_Status,[Last name]) return if(MAX('Table 1'[Last name]) in _A,1,0)Output:
Download the attached file.
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
VahidDM
Super User
4 years agoHi Dark_Bi
Use this measure to filter your visuals:
Measure =
Var _Status = filter(addcolumns(all('Table 1'),"ST",RELATED('Table 2'[Status])),[ST]="Active")
Var _A = SUMMARIZE(_Status,[Last name])
return
if(MAX('Table 1'[Last name]) in _A,1,0)
Output:
Download the attached file.
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Dark_Bi
4 years agoRegular Visitor
Great Solution!! Thank you very much!