How use Sum() function with columns of entities?

Hey there.

I’m trying to sum the column’s values in entity, but when I reffer them don’t appear nothing in screen.

Following the docs steps :

  • I can do this :
    image
    image

  • Also I can do this :
    image
    image

  • But when I try this, don’t returns anything :
    image
    image
    (IntValue has 2,5,4 and 1 as values, of type Number)

Please, can someone tell me what i’m doing wrong?
Thanks in advance.

can you tell me why u are calling test entity???

Because I want to sum all data of column “IntValue” in “TestEntity” entity.

@Java ,

If you are calling a Process then you can sum a field of out data table and its working good.

But in case of entity this is not working. Looks like this is an issue with data service entity.

Here I called a process result and sum it.

image

Result.
image

Thanks,
Arvind

1 Like

Hi @Arvind_Kumar1 ,

Thank you for raising this. Yes, we are aware of this issue and we will work towards a fix for the same.

2 Likes

@Venkata_Rajendran Awesome, Thank you for quick response.

Thanks Arvind for your suggested workaround.
Don’t works for me, because I can’t use an intermediate process, but thanks anyway.

PD: Mark as solution because It can be good solution for other cases.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.