Please help me to solve this.
In a separate datatable, I need to get the count values (“X”, “Y” & “Z”) in “Column 2” in Datatable 1 for each values in “Column 1”.
Also I need to get count values (“X”, “Y” & “Z”) in “Column 2” where “Column 3” value is not equal to “T”.
GroupByCount.xaml (11.8 KB)
What I have:
Datatable 1 (DT1):
What I need in a separate Datatable (OutputDT):
Since dealing with datatable with large data, I am trying in LinQ Query instead of For Each loop:
Please help me