Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Two Conditions for IF formula

Hello,   I am trying to identify contacts that have multiple roles where one role type = Professor and one role type = Student. I have included some pictures of my sample data and relationships bel...
  • HotChilli's avatar
    7 years ago

    I'm sure there are lots of ways to do this. If you want a table ..

    Table  = INTERSECT( 
        SUMMARIZECOLUMNS 
         ( 'Role Data'[Contact.Full Name] , 
         FILTER('Role Data', 'Role Data'[Role Type] = "Professor")),
     SUMMARIZECOLUMNS 
         ( 'Role Data'[Contact.Full Name] , 
         FILTER('Role Data',  'Role Data'[Role Type] =  "Student")))