cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PlantBasedCajun
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.

 

Xnip2021-03-07_16-04-55.png

 

 

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

Xnip2021-03-07_16-17-12.png

  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:

 

Xnip2021-03-07_16-24-55.png

 

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

 

Xnip2021-03-07_16-25-46.png

 

 

1 REPLY 1
Merco
Helper I
Helper I

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

https://www.tachytelic.net/2021/04/power-automate-sort-array-objects/

 

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

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

 

2021-09-01_22-52-18.png

 

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

Helpful resources

Announcements
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)