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 / How To Exclude Filtere...
Power Automate
Answered

How To Exclude Filtered Values From File in Sharepoint

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi. I have existing flow that imports data from a sharepoint folder when a new file is created.

 

However, I need to add a condition that excludes a value from the "Delivery Region" column in the file. The value is "Others". How do I add this to the flow? Appreciate any help. Thanks.

 

smithqu83_0-1679563380740.png

 

Categories:
I have the same question (0)
  • Sundeep_Malik Profile Picture
    6,501 on at

    Hey @Anonymous 

     

    Why not add a condition before that get items that delivery region not equal to Others

    if yes continue do what you are doing and in if no, leave it blank

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Sundeep_Malik thanks for the suggestion. I implemented but got an error. First screenshot showing the new added steps to the flow as suggested. Second screenshot showing the error. Am I missing something?

     

    smithqu83_0-1679607847971.png

     

     

    smithqu83_2-1679608070798.png

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @365-Assist - do you have any thoughts on my issue please? Hope you don't me tagging you. 

  • 365-Assist Profile Picture
    2,324 Moderator on at

    In SharePoint what kind of column is it (Text, Choice, ...)?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @365-Assist , the column DELIVERY REGION is a text column.

     

    smithqu83_0-1679871332284.png

     

  • 365-Assist Profile Picture
    2,324 Moderator on at

    Actually If I understand correctly you want to filter Delivery Region in the Excel File (Not SharePoint column).

    If so try adding to the Filter in the Action List Rows present in Table.  

    Delivery Region ne 'Others' (You will have to adjust for exact syntax of the column)

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Yes your interpretation is correct i.e. filter from Excel file. 

     

    So I added filter in the 'List rows present in a table'. Do I leave the other 2 steps before the 'Get Items'?

     

    smithqu83_0-1679873955378.png

     

  • 365-Assist Profile Picture
    2,324 Moderator on at

    No I don't believe you need those steps.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Something weird is going on with the filter query - it's not recognizing the column name and keeps throwing error.

     

    I tried Delivery Region as shown in Excel file and also tried DeliveryRegion but still same error. Also same issue when using all caps lock. 

     

    Am I missing something??

     

    smithqu83_3-1679875938165.png

     

     

    smithqu83_0-1679875755406.png

     

    smithqu83_1-1679875775253.png

     

     

    smithqu83_2-1679875815179.png

     

  • 365-Assist Profile Picture
    2,324 Moderator on at

    The filter will not handle title with spaces in excel. You need to remove the spaces. e.g. DELIVERYREGION.

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 604

#2
Valantis Profile Picture

Valantis 502

#3
Vish WR Profile Picture

Vish WR 417

Last 30 days Overall leaderboard