Forum Discussion
Anonymous
7 years agoNot applicable
DAX Nested IF & AND
Hi, I've got a formule now which im sure that could be so much better. The formule is. Lorem Ipsum = IF(AND(SessionDetails[ReferredById]=75665,SessionDetails[User1Id]=1),1, (IF(AND(Ses...
- Anonymous7 years agoHi Anonymous,Lorem Ipsum =SWITCH(TRUE(),SessionDetails[ReferredById]<>75665, 0,SessionDetails[User1Id] IN {1,2,3,4}, 1,0)
Anonymous
7 years agoNot applicable
You could try this- Create a new column as follows
Formula = if(Table[Referred by] = 75665 && Table[User id]=1, 1, 0)
I got this output:
Anonymous
7 years agoNot applicable
mm i dont think i was clear enough.
I want all the UsersId1 to give back a 1 if the column ReferredByID = 75665,
So IF(referredbyid = 75665 && userid = 1, or = 2, or = 3, or = 4,) 1 , 0
Something like that