uipath : Datatable compute sum using complex queries

TestOutDT.Select(“振替結果 = ‘○'”).AsEnumerable.Sum(Function (x) If(Double.TryParse(x.item(“請求金額”).ToString, Nothing), Double.Parse(x.Item(“請求金額”).ToString), 0)).tostring