In a field of your column in your query add my_result:iif([liftingdevicetotal] = 0,([preusetotal] + [traveltotal] + [deposittotal] + [stackingtotal] + [parkingtotal]) / 100 * 1,
([preusetotal] + [traveltotal] + [deposittotal] + [stackingtotal] + [parkingtotal] + [liftingdevicetotal]) / 105 * 1)

Change my_result to a suitable otherwise the query will add Expr1: to the field.