Minimum / Average - Store a value calculated from a range of Values

Help improve Bet Angel.
Post Reply
User avatar
tlkjb
Posts: 86
Joined: Thu Aug 26, 2021 10:08 am

If you use the "Store a value calculated from a range of Values"-function to calculate "the Minimum of a set of values" or "the Average of a set of values" it would be nice to have the possibility (as an additional option for example with a checkbox) to exclude all Stored Values with a value of 0 (zero).

For example:
a = 2
b = 0
c = 4

Results at the moment (including the "0" ) :
Minimum = 0
Average = 2

Results (excluding the "0") :
Minimum = 2
Average = 3

Thanks
User avatar
Dallas
Posts: 22713
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

You could add a SV condition to the source SV rule that tests the value is greater than 0 before it's stored
User avatar
tlkjb
Posts: 86
Joined: Thu Aug 26, 2021 10:08 am

Dallas wrote:
Sun Jul 10, 2022 11:19 am
You could add a SV condition to the source SV rule that tests the value is greater than 0 before it's stored
Thanks Dallas. That's what I am doing now, but if you have multiple SV you need to test for each separat and so you end up with multiple rules instead of simply one. So it's mainly a question of efficiency and performance.
Post Reply

Return to “Suggestions”