"Carol O'Neir's Hundredth Dream"
is a short story by Diana Wynne Jones. Pampered Carol can create dreams which other people can buy and enjoy. But something is blocking her all-important 100th dream. Only Chrestomanci can sort out the dream characters for Carol.
It is in the short story collection: Mixed Magics.