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 / Using multiple filter ...
Power Automate
Answered

Using multiple filter arrays issues

(1) ShareShare
ReportReport
Posted on by 6
Hi all,
 
I'm having some problems getting my flow to work how I want. I want it to send emails twice a day with a filtered array of data based on whether one column is blank and another column is equal to 'Increase'. I've tried stacking two filter arrays and also using the 'and' function in advanced mode but when I add in the filter array that is related to whether the column is blank, the email it sends does not have a table present in the body of the email. Can anyone see what I'm doing wrong?
 
Thanks!
 
Categories:
I have the same question (0)
  • Suggested answer
    Tomac Profile Picture
    4,153 Moderator on at
     
    A couple quick questions:
    1.  Does the table show up as expected when using one one or the other filter? As in, does the table only come back blank when using both filters?
    2.  Have you verified in your source data that, when using both filters, you would get a valid list?
    3.  A helpful debugging tool would be to add Create HTML Tables after your List Rows and first Filter Array actions so when the flow completes, you can go into the completed flow and check the outputs for each Create HTML Table action and ensure that you're getting data you expect from each step
  • N_Wallace Profile Picture
    6 on at
    Hi @Tomac
     
    Thanks for your reply - the table shows up when I use just the filter that is equal to 'Increase'. As soon as I add in the filter that is equal to 'null', the table shows blank. In my source data, I can see that with both filters, it doesn't produce a valid list but I can't work out why or how to solve it!
     
  • Verified answer
    Valantis Profile Picture
    6,735 on at
     
    The issue is how you're checking for blank. In Power Automate filter arrays, null checks need specific expressions depending on the data source.
     
    If your column contains an empty string rather than a true null, this expression won't return matches:

    @equals(item()?['YourColumn'], null)
    Try these instead depending on your scenario:
    For truly null values:
    @equals(item()?['YourColumn'], null)
    For empty strings:
    @equals(item()?['YourColumn'], '')
    For both null AND empty string:
    @or(equals(item()?['YourColumn'], null), equals(item()?['YourColumn'], ''))
     
    For SharePoint specifically, blank columns often come back as null in some cases and empty string in others depending on the column type.
     
    Combined with your 'Increase' filter in one expression:
    @and(equals(item()?['StatusColumn'], 'Increase'), or(equals(item()?['BlankColumn'], null), equals(item()?['BlankColumn'], '')))
     
    Check the raw output of your List Rows / Get items action to see what the blank column actually returns  null or empty string  and use the matching expression.
     

     

    Best regards,

    Valantis

     

    ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.

    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).

    🏷️ For follow-ups  @Valantis.

    📝 https://valantisond365.com/

    💼 LinkedIn

    ▶️ YouTube

  • N_Wallace Profile Picture
    6 on at
    Amazing, thanks so much! That has done the job :D
  • Valantis Profile Picture
    6,735 on at
    You welcome man, i am happy, that i was able to help. have a nice day :)
  • Valantis Profile Picture
    6,735 on at
     Hi @N_Wallace , can you please check the question it seems it changed status from answered to Suggested Answer
     
    Thank you :)

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard