Separating logic for parsing query results from two service perfdata tables