You can use custom fields to filter jobs and sort by class on the Job Profitability reports.
To setup the custom field on job profitability reports:
One limitation is that you cannot sort the report by custom field. If you want to sort by custom field, you could use Classes instead of custom fields and the Job Profitability reports will allow you to sort by Class.
Also, if you choose either of the 2 methods (custom fields or classes), you will need to make the above changes per Invoice (transaction).
If this solution does not resolve the issue, you can read discussions and post messages and questions relating to your issue on the Intuit QuickBooks Community site for free. You can contact an agent for additional guidance. Fees may apply.