The following code works in the Database to return the percent of sales quotations won:
SELECT (SELECT COUNT (quotation_no) FROM order_quotation_line WHERE objstate IN ('CO Created' , 'Won') )
/(SELECT COUNT (quotation_no) FROM order_quotation_line WHERE objstate NOT IN ('CO Created' , 'Won')) * 100 as WonPercent FROM Dual
However, When entering the code above into the lobby data source designer columns. I receive the following error:

Any thoughts on why my code is working in DB but not in IFS data source designer??