2 answers
Hi Sarah,
Please use
consolidatedInvoiceList = [SELECT Total__c, Name FROM Consolidated_Invoicing__c Where Id =: ApexPages.currentPage().getParameters().get('id')];
Here you can show the details of current record only.
I hope it helps you.
Kindly let me know if it helps you and please mark as Best Answer.Thanks and Regards,Biswojeet