web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Filter Array or OData ...
Power Automate
Answered

Filter Array or OData add days and choice contains- Get items

(0) ShareShare
ReportReport
Posted on by 56

This is a long one. I have been looking for the solution for a while now.

My end goal: Send a weekly email with an HTML table containing list items that are a) from a "Location" choice column of more than one choice options and b) are less than or equal to "Next Maint. Due" date column plus 7 days. 

I have gotten this to work with the choice column, but each time I try to do it with the time variable, something messes up. 

 

I'd include screenshots, but I have made so many flows, I'm not sure which to start from...

Essentially this is what I have:

Trigger: Runs on Sunday every week>

Get Items>

Filter Array>

Select>

Create HTML table>
Compose>

Send email.

This works for the choice column. I have tried many flows to get the date to work, and the only time it has worked, I wasn't able to use an HTML table.

 

The location choice column options are: 

GA-CS
GA-Safety
GA-Whse
SC-CS
SC-Whse

FL

I want to create flows for locations containing GA, containing SC, and containing FL. (So three flows, one email to send for each)

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,280 Most Valuable Professional on at

    @Hclor 

    Is your data in SharePoint?  If so, is your Next Maint due a calculated column?  If so, you can't use a calculated column in an OData filter.

    If you let me know how the Next Maint date is calculated (assuming that it is a calculated column) I will provide an example.

    When you say "are less than or equal to "Next Maint. Due" date column plus 7 days" do you mean that the next maint date is less than or equal to today plus 7 days?

     

     

  • Hclor Profile Picture
    56 on at

    This is from a SharePoint list, yes. 

    "Next Maint. Due" is not a calculated column, it is a date column. I want to send a weekly email that has an HTML table of all items from the SharePoint list that are due that week (or overdue). So less than or equal to 7 days after the date in next maintenance due column. Does that help to clarify?

  • Verified answer
    Hclor Profile Picture
    56 on at

    I found all my answers in this youtube video

    https://youtu.be/VnWg-Eox37Q

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 224 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 181 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 97 Super User 2026 Season 1

Last 30 days Overall leaderboard