How to remove data when it is appears in more than one section by LINQ

  • Thread starter Thread starter Sudip_inn
  • Start date Start date
S

Sudip_inn

Guest
See screen shot of data

1616451.png

R&D and SG&A appear first in the section of consensus and later it appear with key drugs section. my requirement is if any line items and xfundcode appear more than one then those xfundcode value will be empty.

xfundcode is attached with line item. it is a property of line item.

so output will be....screen shot attached

1616454.png

so line item R&D and xfundcode RD first pair with Section consensu so its xfundcode will not be empty but when the same line item and xfund code will be paired with different section then its xfundcode will be empty. how to achieve it.

please give me a sample code to handle this scenario. thanks

Continue reading...
 
Back
Top