Many thanks again. The above is not working. My issue is when I select NON in the filter, even if I have the Set Analysis, the expression is still calculating the value for NON assign types. The expression should show 0 instead of showing a value or the expression should be frozen on the average for LEC. Could you please take a look at the screenshot part of my original post?