This image illustrates the data model with the second, TOTAL_COMP, formula column.