Forum Discussion
Anonymous
7 years agoNot applicable
Calculated Column with multiple conditions
i have a table with following columns. Leave Details EmployeeName Leave taken days Leave ...
- 7 years ago
Anonymous,
You may remove the equal sign (=) in expression below.
'Leave Details'[Month diff]= -6,
ryan_mayu
7 years agoSuper User
Anonymous
please try if formula instead of switch. It should fit your requirement. Thanks
Column =
if(Sheet2[leavetype]="a"&&Sheet2[leave taken days]>0,0,
if(Sheet2[leavetype]="b"&&'Sheet2'[month diff]=6,Sheet2[month diff]-6
,if(Sheet2[leavetype]="c"&&Sheet2[leave taken days]>=5,Sheet2[month diff]-5,111)))