Request: "cap1" aggday

I’m requesting an aggday method that returns the max of 1 and the sum of all entries that day - in other words, it caps the sum at 1.

This would allow you to create a daily max for how many times you do something. So if you wanted to allow up to 4 times a day, you just enter 0.25 each time.

Skatesum does something like this but only if you’re right at the edge. I want something that caps the sum all the time.

1 Like

Fascinating and clever! Ideally I guess aggday functions could be parameterized and could just have like cap4 and then enter 1’s like normal. But this should work!

PS: You presumably meant “min” not “max”

1 Like

Yeah, parameterizing would be ideal but it seems like a pain to implement.

Another option would be to just have the first few: cap1, cap2, cap3, cap4, and cap5 should cover most of what we need.

And yes I got that backwards - I meant min :stuck_out_tongue:

1 Like

See also:

1 Like

Voila! http://beeminder.com/changelog#2933

1 Like

Yay!! So excited! :heart: :heart_eyes: :heartbeat::heartpulse::two_hearts:

1 Like