sum of zeros equals NA not 0 in case_when statement

Hi, and welcome!

Could you provide a reproducible example, called a reprex, please? Making it easier to test the code will usually bring out more and better answers.

1 Like