Coupon code pricing rule

I want to apply coupon code on my whole cart amount but its applying in each item , how to resolve this