Add Weighted Average to Statistics in Experience Builder

202
1
02-26-2024 08:00 AM
Status: Open
IgorAtamanchuk
New Contributor III

There is a frequent need to dynamically output an average value of one field in relation to the other when filters or selections on the map are used. For example, we need to calculate the average soil moisture, but the soil area (polygon) sizes are not equal, so we need to relate the moisture value to the area it belongs to. 

1 Comment
kaifeiji

Unfortunately, weighted average seems not supported from the bottom level: JSAPI and Rest API.

You could try publishing a GP service with weighted average capability, and then use it in ExB's Analysis widget. But I'm not sure if this works.