0
I'm doing something wrong with this formula
I have Two Choice File one Status Example ( In Progress, Issue Client, Complete) , and Other Choice with Numbers (10%, 55% 100%)
The formula don't work
if Status = 2 then
Hours * number(Choice = 1)
else
if Status = 3 then
Hours * number(Choice = 2)
else
if Status = 4 then
Hours * number(Choice = 3)
end
end
end
6 replies
-
You can’t filter a number() command. So try:
if Status = 2 then Hours * 0.10 else if Status = 3 then Hours * 0.55 else if Status = 4 then Hours end end end
-
Rafael said:
On Status there are 1,2,3,4,5 items and on Hitos only 1,2,3 itemsThen you can try something like this in the Trigger after update of Status:
switch Status do case 2: Hitos := 1 case 3: Hitos := 2 case 4: Hitos := 3 default: Hitos := 0 end
I added the default so if you click on 1 or 5 it will erase what is in Hitos. You can remove that if that doesn't work for you.
Content aside
- Status Answered
- 1 yr agoLast active
- 6Replies
- 70Views
-
2
Following