Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

How can i filter?

(0) ShareShare
ReportReport
Posted on by 1

I am creating a Flow that sends an email when a new item is added to a SharePoint list, i only want to send the email however if a specific value is in one of the columns within the sharepoint list item.  I have configured the step as the image below but it sends the email whenever any item is created irrespective of my filter. 

 

My SharePoint list is called Accidents.  It has a choice column in it called Description.  The choices available are:

 

Minor Accident

Major Accident

Serious Accident

 

I want to send the email only when the value selected is Serious Accident.  As well as the below Filter i have also tried:

Filter( Accidents, Description = "Serious Accident")

but this did not work either.  Any help would be appreciated, thanks.

 

screenshot.png

  • efialtes Profile Picture
    350 on at
    Re: How can i filter?

    @Samuel

    I couldn't make filters work on Office 365 Calendar Get Events, filter examples I tried are posted at https://powerusers.microsoft.com/t5/Flow-Forum/Is-Office-365-Get-Events-Filter-Query-working/m-p/2239/highlight/true#M363

     

    Then I found a post on powerapps forum detailing similar filter problems with Sharepoint Get Items. According to response given last 25-april, "filter functionality has not been implemented yet. It's in the plan to support filter query. We don't have a timeline right now." No feedback since then. This second post can be found at:

     

    https://powerusers.microsoft.com/t5/PowerApps-Forum/Logic-Flow-Get-Items-Filter/m-p/632/highlight/true#M612

     

  • Samuel Profile Picture
    on at
    Re: How can i filter?

    In theory you'd type in something like "Description eq 'Serious Accident'". Some good articles for sharepoint odata syntax here (http://www.trigent.com/blog/introduction-to-rest-api-with-odata-operators-in-sharepoint-2013/) and here (https://msdn.microsoft.com/en-us/library/office/fp142385.aspx#bk_supported).

     

    However, I personally couldn't get this to work. @SameerCh, any idea if these query strings actually make it through to the sharepoint endpoint?

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow