Merging Datasets and "Invalid number of breaks" error

You'll need to share the code and some data that reproduces the problem, see here for advice on making a minimal reproducible example: