Linq query regarding distinct rows

hello @Shikhar_Tandon
Can you give us more details of what do you want exactly ? also can you share the excel file and its desired output form

Also check this post if thats what you need