Mightystomp
Board Regular
- Joined
- Jan 31, 2006
- Messages
- 50
This code return error code "Argument '4' in SWITCH function is required." I cannot see anything wrong with it but I think it mistakes the last entry as another value in stead of the else.
=switch(True()
;[HasoneValue]=1;
rankx(all(Test[Provider]);[Total Rev];;;dense);
;[Hasonevalue]=2;
blank();
;[hasoneValue]=3;
blank();
blank()
)
Can anyone see where I went wrong?
Thank you
=switch(True()
;[HasoneValue]=1;
rankx(all(Test[Provider]);[Total Rev];;;dense);
;[Hasonevalue]=2;
blank();
;[hasoneValue]=3;
blank();
blank()
)
Can anyone see where I went wrong?
Thank you