On Mon, 29 Aug 2016 13:44:19 -0700
David Fetter <david@fetter.org> wrote:
> This is the expected behavior. You might look into FILTER clauses in
> your queries, which might be closer to the behavior you want.
Yeah, I realized why it's behaving that way after Tom's answer.
I did not write such horrible code, but I worked around it by repeating
case when within the sum :)
Regards,
Rikard
--
Rikard Pavelic
https://dsl-platform.com/
http://templater.info/