Hello,
Could you provide us with a reprex so we can see what it is you are trying to achieve. A reprex consists of the minimal code and data needed to recreate the issue/question you're having. You can find instructions how to build and share one here:
Good luck, PJ