Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

How To Exclude Filtered Values From File in Sharepoint

(0) ShareShare
ReportReport
Posted on by

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

 

  • Verified answer
    Community Power Platform Member Profile Picture
    on at
    Re: How To Exclude Filtered Values From File in Sharepoint

    I used 'Filter Array' instead and it worked. Thanks for your help and appreciate your time.

  • 365-Assist Profile Picture
    2,312 Super User 2025 Season 1 on at
    Re: How To Exclude Filtered Values From File in Sharepoint

    I ran a little test and worked for me. Perhaps you should create a small test flow to get it to work first.

     

    365Assist_0-1679888189668.png

    365Assist_1-1679888220945.png

     

  • Community Power Platform Member Profile Picture
    on at
    Re: How To Exclude Filtered Values From File in Sharepoint

    Hi @365-Assist , yes I did try without spaces as per my previous screenshots but that still didn't work. Attached same screenshot of the error below.

     

    smithqu83_0-1679887759271.png

     

  • 365-Assist Profile Picture
    2,312 Super User 2025 Season 1 on at
    Re: How To Exclude Filtered Values From File in Sharepoint

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

  • Community Power Platform Member Profile Picture
    on at
    Re: How To Exclude Filtered Values From File in Sharepoint

    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,312 Super User 2025 Season 1 on at
    Re: How To Exclude Filtered Values From File in Sharepoint

    No I don't believe you need those steps.

  • Community Power Platform Member Profile Picture
    on at
    Re: How To Exclude Filtered Values From File in Sharepoint

    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,312 Super User 2025 Season 1 on at
    Re: How To Exclude Filtered Values From File in Sharepoint

    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
    on at
    Re: How To Exclude Filtered Values From File in Sharepoint

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

     

    smithqu83_0-1679871332284.png

     

  • 365-Assist Profile Picture
    2,312 Super User 2025 Season 1 on at
    Re: How To Exclude Filtered Values From File in Sharepoint

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

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,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow