Sum automatically

Hi support,

Kindly assist with this: I would like to sum automatically when the row is selected number

I have tried various ways, but it fails.


Can anyone help me?
Thank you

Hi @hibah_alhuwayrini

Welcome to the community !

You may want to set the calculation expression in the app formula
image

with this following expression:

[Dashboard]+[Trunk(big car)]+[Buttons car]

Please note:
I notice your columns are type EnumList.
If the previous expression does not work, please try instead:

SUM([Dashboard])+SUM([Trunk(big car)])+SUM([Buttons car])

for reference, I suggest you have a look to:

1 Like

Hi @Aurelien
Thank you for your quick respon .
Unfortunately it do not work


OK, can you change it to:
SUM([Dashboard]+[Trunk(big car)]+[Buttons car])

@Aurelien
Same proplem

Make sure the base type of the EnumList columns is Number.

As noted in the comments, all of the columns are set as EnumList which means a user could select more than 1 value. Is that your Intent?

1 Like

I just played with an example. This works for either Enum or EnumList. Just make sure the Base Type is Number.

EnumList - View with multiple choices

EnumList - Columns

EnumList Result Expression

SUM([Number1]) + SUM([Number2]) + SUM([Number3])

If you DO NOT wish to allow multiple choices, change the Columns to Enum and then the expression would be:

[Number1] + [Number2] + [Number3]
2 Likes

use LIST(SUM(--------- it will work

Not if you are trying to store a single result in a column defined as Number.

Could you have meant SUM(LIST(…)?

EDITED: I just tried SUM(LIST(…)) on the columns defined as EnumList. It doesn’t work becasue each column itself is a list.

1 Like

@Aurelien @Pooja @WillowMobileSystems

Thanks a lot for help me …

The proplem is solved

DONE

3 Likes