- Merge the Duplicate Rows
- Calculate the number of duplicate rows
- average of numbers ( Rating )
While Merging all the other Value are deleting
How to do it can some give some kind of Hint
While Merging all the other Value are deleting
How to do it can some give some kind of Hint
DT.asenumearble.groupby(function(r) r(“author”).Tostring).select(Function(g) DT.clone.loaddatarow({g.key,g.count,g.avg(function(a) CDbl(a(“Rating”)))},False).Copytodatatable
Give a try to this.
GroupBy.xaml (12.7 KB)
Same Value Coming Up
Hi @Krishan_Rapswal
I’m getting this ouput. Can u share screen shot. Use this input file and check.
Test.xlsx (8.4 KB)
Books List.xlsx (14.3 KB)
This is the Excel File if you run this code the output is come Same as Input
Hi @Krishan_Rapswal ,
Refer to the attached workflow to get an idea on your use case.
AuthorGroupBy.xaml (9.2 KB)
yes Correct
GroupBy.xaml (13.5 KB)
thank you for the output
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.