Hello, I am trying to get the following rule to work. I have 3 fields that I would like to get the average from, but in some instances not all 3 fields have values and are null. I would like to average the non null values. I have tried Count, and other varies methods but cant seem to get it to work. Any help would be appreciated. Thanks
VAR LC1 = $feature.Lot_Cost
VAR LC2 = $feature.Lot_Cost_
VAR LC3 = $feature.Lot_Cost__
VAR AVLOT = COUNT([LC1,LC2,LC3])
SUM(LC1,LC2,LC3) / AVLOT
The above is what I am working on, but returns the wrong value.