Hi @Anonymous (Carrie).
Sorry about the confusion but what I am doing is "simulating" the date hence the use of the "Compose" called "Compose DateTime". You will need to cahnge to wherever you are getting your date from, you haven't mentioned that in your post hence my simulation.
Please see your error:
It says ... "Compose_DateTime ... not defined in the template"
So you need to change:
formatDateTime(outputs('Compose_DateTime'), 'MM-dd')
to ....
formatDateTime(<The name of your dynamics attribute with date>, 'MM-dd')
If you find my posts helpful, please mark thumbs up.
If these posts make up the solution, please click, "accept as solution".
Any other questions, just ask.
Thanks, Alan