Please help me if I want to insert a nested if syntax in the salary component conditions if I want it like so:
(base*01 if nationality == “saudi” and base< 4500) (45 elif nationality ==“saudi” and base => 4500) (40 else)
thanx in advance
2 Likes
base*1 if nationality == “saudi” and base < 4500 else 45 if nationality ==“saudi” and base >= 4500 else 40
1 Like
Where should i write this in the formula or condition ?
Thanks I tried it and it worked