Thanks Mike
It is perfect now but need to check with large data's.
Marked the report as solved.