Hi friends,
I have an excel with columns A to S, column A has Reference Number, Column R has Amount and column S has vlookup value.
I need to do pivot operation on Reference number and get the count and sum of Amount of that Reference number.
The same I need to do pivot on vlookup value and get the count and sum of Amount of vlookup value.
Can you please help me in this.
I don’t know how to go with this
Anil_G
(Anil Gorthi)
November 18, 2023, 4:24am
2
@hanviprebday
Use create pivot table activity…and define the column rows and aggregates you need
The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...
A small tutorial…it works the same way in studio as well
The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...
Hope this helps
Cheers
Parvathy
(PS Parvathy)
November 18, 2023, 4:39am
3
Hi @hanviprebday
Try this:
Hope it helps!!
@Parvathy
I am using classic version can you please help me with that flow
Anil_G
(Anil Gorthi)
November 18, 2023, 5:28am
5
@hanviprebday
Here is a classic activity with example
The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...
Cheers
Hi @hanviprebday ,
Thanks for reaching out to UiPath community.
Use the “Read Range” activity to read the Excel file into a DataTable.
Use LINQ or GroupBy in UiPath to group the data by Reference Number, then calculate the count and sum of the Amount.
Create a new DataTable or Excel sheet to store the pivoted data.
Similar to the Reference Number, group the data by the Value column and calculate the count and sum of the Amount.
Store this pivoted data in a separate DataTable or Excel sheet.
Thanks,
@pratik.maskar
How to use linq or groupby I don’t have idea