The matching principle requires that revenues and any related expenses be recognized together in the

The matching principle requires that revenues and any related expenses be recognized together in the same period. What do you do if there is a cause-and-effect relationship between revenue and the expenses?