Pivot structure

Hi there, I am working with Pivot table to manage an activity for a little farm and I have noticed that in the pivot page I got 2 voices “sum of of revenue and sum of outputs”, but in the section of revenue I find also some voices of costs and the same happen under section costs I find some voices of revenue.
The question is: how can I build a pivot table without these mistakes?


Thanks

This question does not provide enough information to reproduce the problem. Please edit the question to provide simplified data and tell the desired results. See guidelines for asking.