Allo,
I've hit a bit of a snag. I need to group a report on a formula field, but it takes a mortifyingly long time to run...
So, I thought I'd try to recreate the formula in SQL, to take advantage of server-side grouping.
The original formula looked rather like this:
if {table.myfield} in ["a","b","c"] then "Group One" else
if {table.myfield} in ["X","Y","Z"] then "Group Two" else "Error"
Can I reproduce this in an SQL expression? I can't seem to find a way of making a list...
Cheers!