Kumar, Lisa was referring to the following from your initial post I believe:
"I want to get the dataonly for prod A with the latest date"
Hopefully this is what you needed, if things do work, be sure you come back and use the Accept as Solution button on her post to give her credit for the help and to let other Community Members know it did work. If you still need further assistance, leave an update.
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.