Select to view content in your preferred language

Experience Builder Expressions

639
10
05-13-2025 07:32 AM
Labels (1)
TBWI
by
Occasional Contributor

I could use help with an Experience Builder expression. I would like to create a sum of multiple attribute fields. When I create a sum of each field individually, it works fine. When I try to summarize multiple fields, I don't get an error, but it will not show the total, just the expression name. Any help is greatly appreciated!

TBWI_0-1747146455839.png 

TBWI_1-1747146501763.png

 

 

0 Kudos
10 Replies
Sknittel_Geauga
Occasional Contributor

My suggestion is to double check that each field's data source is correct, I often get that sort of response when I thought I had all set to "default" views but one was accidentally set to "selected features" and since I didn't have anything selected it didn't process.

0 Kudos
TBWI
by
Occasional Contributor

Thank you! I made sure that it is not on selected features, but I still have the same issue. 

0 Kudos
TimWestern
MVP

If the fields are a numeric type, and not a string, make sure none of the rows have a value of Null or NULL.  I have seen some calculations fail because of a single 'null field' value.


0 Kudos
TBWI
by
Occasional Contributor

Thanks! However, we don't have any null values.

0 Kudos
TBWI
by
Occasional Contributor

As a follow-up, I was able to get a number when using the "List" widget, but it only summarizes data from features that are visible. How can I make it summarize all existing data in the table?

0 Kudos
JeffreyThompson2
MVP Frequent Contributor

How many items are in your dataset? How big do you expect your final total to be? I am wondering if you are running into a limitation on how many calculations it can perform.

GIS Developer
City of Arlington, Texas
0 Kudos
TBWI
by
Occasional Contributor

I'm attempting to sum four columns (years) with about 30 features. We will add one column onto this calculation with each year of data collection. 

0 Kudos
JeffreyThompson2
MVP Frequent Contributor

That sounds like a manageable number of calculations, but how big is your expected total. Could you be crossing the data size limit? 

https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/arcgis-field-data-types.htm

GIS Developer
City of Arlington, Texas
0 Kudos
TBWI
by
Occasional Contributor

The total right now for the four columns is about 260,000. What does integer vs big integer go up to? I see a caution using the big integer Field Types in ArcGIS Online, Best Practices and Compatibility

I am currently using the "Integer" field type. 

0 Kudos