The contribution margin (CM) is calculated from the project's revenue and cost. If one of them is missing, no CM is shown. If one of them is wrong, the CM will also be wrong.
If the project does not show a contribution margin
Click the three dots next to the project name at the top of the menu and select Edit project. Go to Contract details and enter the contract value with the client in the Contract value field.
Save. The CM is shown in the top bar when both revenue and cost are in place.
Check that the estimate has been imported and published, so that the project has a final forecast.
If the contribution margin is wrong
Check that the estimate has been imported correctly, including own production. An incorrectly imported estimate is a common cause.
Enter general costs that have already been charged to the project.
Check that the revenue forecast is correct, and that change orders against the client have been registered.
Good to know
The CM in the top bar is based on the estimate and the final forecast. It is never better than the figures it is calculated from.

