LINQ | LINQ Pivot | Create Pivot Table Using LINQ | LINQ Uipath | Uipath Tutorials | Coderslobby
➖〰➖〰➖〰➖〰➖〰➖〰➖〰➖〰➖〰➖
Code:-
(From row In dt_Table.AsEnumerable
Group row By Key= New With{
Key.Region= row.item("Region"),
Key.Rep= row.item("Rep"),
Key.Item= row.item("Item")
}Into grp= Group
Select dt_Result.LoadDataRow(New Object(){
Key.Region,
Key.Rep,
Key.Item,
grp.Count()
},True)).OrderBy(Function(row) row.item("Region")).ThenBy(Function(row) row.item("Rep")).ThenBy(Function(row) row.item("Item")).CopyToDataTable
➖〰➖〰➖〰➖〰➖〰➖〰➖〰➖〰➖〰➖
🖥️Video Summary 👉
How to create a pivot table using linq in UiPath?
➖〰➖〰➖〰➖〰➖〰➖〰➖〰➖〰➖〰➖
Hope you found this video useful. Please like, share the video, and subscribe to our channel. This will motivate us to create more good content. Thanks!
➖〰➖〰➖〰➖〰➖〰➖〰➖〰➖〰➖〰➖
🎧Do watch our Other Videos 👉
Uipath👉 • UiPath Tutorials
Uipath LINQ👉 • Linq Uipath
VBA👉 • VBA Tutorials
➖〰➖〰➖〰➖〰➖〰➖〰➖〰➖〰➖〰➖
-------------------------------SOCIAL-------------------------------
🛠️ If you have any doubt or query, drop us an email: [email protected]
👥Facebook: https://fb.me/CodersLobby
📸Instagram: / coderslobby
📱WhatsApp: 8558919766
----------------------------------------------------------------------