Hi,
I have a entity table mapped to my UiPath app and I want to get the Sum of a entity column using UiPath Apps.
Thanks in advance for your kind reply.
Hi,
I have a entity table mapped to my UiPath app and I want to get the Sum of a entity column using UiPath Apps.
Thanks in advance for your kind reply.
Hi
Have a view on this thread on similar discussion
Cheers @Kavindu_Dilshan
Follow this steps
Create Data Service Connection (use the provided connection details).
Retrieve Data (e.g., Get data from the Entity Table):
Initialize a variable to store the sum, e.g., SumValue = 0
.
For Each (item in DataTable):
SumValue = SumValue + Convert.ToDouble(item("ColumnName").ToString)
After the loop, SumValue
will hold the sum of the specified column.
You can then use the SumValue
in your UiPath workflow as needed.
Finish and close the Data Service Connection when done.
Thanks @Palaniyappan ,
According to this, there is a issue with Sum function.
Correct me if I am wrong
Thanks @Praveen_Mudhiraj ,
This is using UiPath Studio, isn’t it?
I want to calculate the sum of a entity in the Apps level, (using any kind of functions) .
Well they were trying to sum the column’s values in entity, but when referred them don’t appear nothing in screen.
They used a process to get the sum of column values
Hope my understanding is correct as per the comment from that post
@Kavindu_Dilshan
CC: @Venkata_Rajendran
Hi @Venkata_Rajendran
Referring from How use Sum() function with columns of entities?.
Appreciate your kind input on this as well
are you able to be a bit more specific about the calculation part of these instructions?
How do we access the field on the entity for the calculation component, and what is a calculation component? Is it a control for the app?
Thanks!