Data table group by total count and row value

Hi,

How about the following?

new Object(){dt.Rows.Count,dt.AsEnumerable.Count(Function(r) r(1).toString="Failed"),dt.AsEnumerable.Count(Function(r) r(1).toString="Success")}

Sample
Sample20240322-2.zip (8.8 KB)

Regards,

1 Like