yes these are the options i have but i only want percentage discount on certain products

if i have multiple different items in cart the whole cart is discount not just the products its allowed on
if i do percentage discount and exclude the only item its not allowed to discount then if the user adds that to the cart the coupon errors and does not apply unless user removes item from cart.
does this mean i have to add “allowed Categories” ? instead of exclude categories ?