The “X” date of the “Y” agenda is not selected
When creating the “Y” section of the agenda type, you’ve added the “X” date but didn’t select it. This why the field is empty, as you can see on the picture bellow.

To solve this, you must access the section of the “Y” agenda and add a date to that field.