Error in pivot table with filter

Hi there
many times I tried to make pivot table with filter like the below one.

But when I apply to my example I get this error.

Can anybody helps me?