When total expenses are greater than the total revenue