Hi -
What is the code that I should use to have more than one IIF statement in a query - in the Expression Builder? AND doesn't work.
I am trying to add 3 columns, but some columns have a null value and some don't, so I am saying IIF IsNull([Column1]), then add other 2 columns, otherwise add all 3 columns. I need to do this for the other 2 columns.
Or is there a better way to add multiple columns where some have Null value?
Thanks in advance!
What is the code that I should use to have more than one IIF statement in a query - in the Expression Builder? AND doesn't work.
I am trying to add 3 columns, but some columns have a null value and some don't, so I am saying IIF IsNull([Column1]), then add other 2 columns, otherwise add all 3 columns. I need to do this for the other 2 columns.
Or is there a better way to add multiple columns where some have Null value?
Thanks in advance!