Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/18/2023 in all areas

  1. One way of achieving this would be to compute the aggregate value (maxValue in your case) outside the call to setProperty() and then round the result before you use setProperty: // condition you want the aggregate of $condition = ($t > 100).removeLongerThan(1d) // output the maxValue as a signal that we can then round easily $maxPerCapsule = $t.aggregate(maxValue(), $condition, startKey()) .round(2) // round to two decimal places // use the rounded maxValue to set the property in the condition $condition.setProperty('Max Value', $maxPerCapsule, startValue()) This results in the aggregates getting computed with the original data and then rounded:
    1 point
This leaderboard is set to Los Angeles/GMT-07:00
×
×
  • Create New...