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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Advice on new flow req...
Power Automate
Unanswered

Advice on new flow required

(0) ShareShare
ReportReport
Posted on by 61

Hi,

 

I'd like to build a flow that the outputs a table of columns each day, however I only want items in the table that match a few specific conditions.

 

So for example, I have status column, when the status changes to the value "not select", I want power automate to collect all the items in the last 24 hours that have changed to this status and add to a table, then the table is sent in an email each morning. 

 

So I need a reoccurring schedule flow to start, then maybe get file properties, has column changed in a condition, would this work for a start, or does the trigger need to be "when an item is modified".

 

Either way, how would I get it to look back over the past 24 hours only? Is this possible?

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,246 Most Valuable Professional on at

    If you want to do it once a day then definitely use a recurrence trigger and a get file properties or get items.  Try to filter it with an OData query, although you may not be able to get everything filtered out using just OData.  Then use a Filter array to remove anything else that shouldn't be there.  Use a Data select to specify the exact columns you want in the table and then convert the array to HTML.  That can then be embedded in the email.

  • nocodecreative.io Profile Picture
    61 on at

    Thanks, what would the filter array need to look like to filter out anything that's hasn't been modified in the last 24 hours?

  • Pstork1 Profile Picture
    69,246 Most Valuable Professional on at

    image.png

  • nocodecreative.io Profile Picture
    61 on at

    hi again - this query isnt working for me: @And(greater(item()?['Modified'],addHours(utcNow(),-24),less(item()?['Modified'],utcNow()))

     

    Any idea why?

  • nocodecreative.io Profile Picture
    61 on at

    hi again - this query isnt working for me: @And(greater(item()?['Modified'],addHours(utcNow(),-24),less(item()?['Modified'],utcNow()))

     

    Any idea why?

  • Pstork1 Profile Picture
    69,246 Most Valuable Professional on at

    The query is case sensitive.  Its @and(.... not @And(....

  • nocodecreative.io Profile Picture
    61 on at

    yes I tried with lowercase - that's just my grammar correction on edge!!

  • Pstork1 Profile Picture
    69,246 Most Valuable Professional on at

    What error are you getting?

     

  • Pstork1 Profile Picture
    69,246 Most Valuable Professional on at

    Try the following.  I think the one you are using might be missing a parentheses.  This works for me.

     

    @And(greater(item()?['Modified'], addHours(utcNow(), -24)),less(item()?['Modified'], utcNow()))

     

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard