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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,548)