I believe to what Sunny was referring is the fact when a user makes a selection, we calculate things based upon that selection, so that is was confusing, as you did not mention you wanted something to calculate outside the selections, which is when you would want to use Set Analysis. The best I have for you is the following specific Design Blog post on Set Analysis, and then I will put the base URL for the Design Blog area below that in case you want to search the posts there further on your own, these are mostly how-to posts from our experts, so you should be able to get some useful ideas looking in that area.
I think you will need to provide further clarification of the use case to get further responses from others.
To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question. I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.