tried
Orders::wherein(\'status\',[\'succeeded\',\'completed\'])->sum(\'subtotal\');
and I have 2 records one consist of subtotal of