I have a table of data that includes a row for each time a person (Name) serves in a position (PosID) and they may serve in a position multiple times. These positions have levels which are defined in a referenced table ([PosID].[Level]).
I would like to filter out all records for an individual (Name) if they have already served in a specific level (“5”), yet leave records for other individuals, but only if they have served at least once in specific levels (“3” AND “4” at least once).
I believe I need to create a slice with an expression to filter in/out the records, but am having trouble creating the expression.
I have tried this expression, but it includes records for level 3, but I only want them to show if at least one record exists for levels “3” AND “4”, but not level “5”.
OR(CONTAINS([PosID].[Level],“3”), CONTAINS([PosID].[Level],“4”))




