Forum Discussion
unclejemima
8 years agoPost Patron
Expression that yields variant data type with IF statement?
I used an if statement for a calculated column with no problem if my TRUE variable was fixed
example: IsInventry = if(LComment[FileNo]=7,"True",""
If I use a variable as the TRUE
example: IsInventry = if(LComment[FileNo]=7,LComment[RecordNo],""
I get the error Expression that yields variant data type
Is there any way around this?
2 Replies
- v-jiascu-msftMicrosoft Employee
- unclejemimaPost Patron
Fantastic. That works great!