Currently, QuickBooks Online doesn't have the option to include a project code column in reports. As a workaround, you can export the report to Excel and then modify it to add the column. Here's how:
Navigate to Reports.
Find and select the report you want to export.
At the top of the report, click the Export/Print button, then choose Export to Excel.