Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Sort HTML Table in Email Summary Planner Flow

I used the Flow Template from here: Create a daily summary of Planner Tasks by Bucket | Microsoft Power Automate


I have managed to remove and filter out the Completed Tasks. Now it creates a great Email summary by Bucket. I cannot figure out how to Sort the Buckets. I want to Sort by Title and I cannot figure it out.





Issue number two, I am trying to Take Start Date and Format it and cannot do it. 


  When I go to the flow where it exists, you get in Planner Value of Start Date... if I try to use FormatDateTime('Field'),yyyy-MM-dd then I dont get value of Start Date, I only get "Current Item"


Here is what it looks like in the Set Variable:




If I try to use the FormatDateTime() I cant even see the Planner Fields:





Helper I
Helper I

Issue 1: have you tried this, it works for me;


Issue 2: I do the next, maybe this works for you too;

if(empty(item()?.startDateTime),'-', formatDateTime(item()?.startDateTime, 'MMM d'))




Let me know if this Solved the issue. Thank you.

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (3,729)