I have a Datatable populated from execution of a SQL Query . Columns are
Env Group Issue
DIT A 1
DIT B 2
SIT A 3
SIT C 4
STG D 5
The LINQ query should pivot as follows
Group DIT SIT STG
A 1 1 0
B 1 0 0
C 0 1 0
D 0 0 1
Transposed, the ENV coulmns should have the count (issue)