Hi Rohit,
As rule of tumb do calculations as late as possible and do filtering as soon as possible.
Take your briefly described scenario if there are calculations you can move after aggregation (in a new node) it should be even better.
Best regards, Fernando Da Rós