I am using the template "Create a daily summary of Planner Tasks by Bucket" and am trying to customize it.
I want to change the "value planner due date" date format to a more user friendlt option but when I enter an expression instead of the value it crashes the flow.
When I replace the value below with the following expression the flow fails:
formatDateTime(items('Iterate_through_tasks')?['dueDateTime'], 'yyyy-MM-dd').
If I look at what the code for the actual value is it's:
items('Iterate_through_tasks')?['dueDateTime']
I just want the date to be in a more standard user friendly format. How do I change this value without breakign the flow? I must be missing something as it works everywhere else except when setting the variable.

