Hello Sri -
If you have not seen the videos on Set Analysis - you can review them here:
What you are trying to achieve when using Set Analysis is what we call $ (dollar) expansion, which is the ability to evaluate the function and obtain the results to be used for your comparison. You can see it in action here in video #2 on YouTube on in the Qlik Community:
Please mark the appropriate replies as CORRECT / HELPFUL so our team and other members know that your question(s) has been answered to your satisfaction.