I came across a defintion of the idiom "to the/such an extent that" in a dictionary. It says it is used for saying that because one thing is happening something else happens:
His business is failing to such an extent that it is losing over $40,000 a year.
But, I think "it is losing over $40,000 a year" is not a reason the business fails. It shows just the extent to how much they fail in a business.
What do you think?