Nazneen, did Franks' last post with his example app work for you? If so, please be sure to circle back and use the Accept as Solution button on his post to mark that as the solution and give him credit for the help with things. If you are still working on things, leave an update.
Just for future reference, you can try the Design Blog area for examples and how-to related posts, these are specifically from Qlik Employee experts, the link below is the base link, use the search dialog to look for posts related to the top you are trying to figure out.
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.