Hope I did understand the requirement. Can you please try the below syntax?
IF ATTR(X)= ATTR(Y) THEN Count(Calls) END
I used your formula but did not work… got 0 values… below is what I put in..
Keep in mind that value in is one table and the other is in an sql table. What fied do I use in sum to get number of records that match.
CARLOS TRIVINO | 905-875-0708 ext.332