case
when fkimg >10
then'dummy'
when netwr between10and100
then'dummy'
else
'fit'
endas invoiceuse ,
i have used this above code to build cds view it dnt throwed any error
and when you want to compare same field then try like,
case fkimg
when 0
then 'bad'
when 10
then 'good'
else
'better'
endcase as result.