Mismatched aggregation error with ifelse() and LAC-A when trying to calculate sum for prior year

Hi @azhukova,

You have to move your ifelse inside the sum. Take a look at the mismatched aggregation section at the bottom of this article:

1 Like