Forum Discussion
Anonymous
8 years agoNot applicable
Single Slicer?
I have this data: So as you can see, a company can have a Cobra manager, a Flex manager, or both. For the most part it tends to be the same person, but there are some exceptions. Is there ...
- 8 years ago
You could use an unrelated person table and a measure like this:
Measure = VAR myPerson = IF(HASONEVALUE(People[People]),SELECTEDVALUE(People[People]),BLANK()) RETURN IF(myPerson IN ALLSELECTED(COBRA[COBRA AM]) || myPerson IN ALLSELECTED(COBRA[Flex AM]),1,0)
Greg_Deckler
8 years agoCommunity Champion
You could use an unrelated person table and a measure like this:
Measure = VAR myPerson = IF(HASONEVALUE(People[People]),SELECTEDVALUE(People[People]),BLANK()) RETURN IF(myPerson IN ALLSELECTED(COBRA[COBRA AM]) || myPerson IN ALLSELECTED(COBRA[Flex AM]),1,0)
- Anonymous8 years agoNot applicable
Greg_Deckler I meant to ask, what is meant by an unrelated person table? Is that just joining both columns into a single table of it's own then creating the measure from that table and relating it back to my original table?
- Greg_Deckler8 years agoCommunity Champion
I just meant don't create a relationship between your Person table and your other table.