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 / Filter Array not filte...
Power Automate
Unanswered

Filter Array not filtering two select arrays

(0) ShareShare
ReportReport
Posted on by 52
I'm trying to compare values from a Power BI query with those from a SharePoint list, finding those in the SP list that aren't in the query. I have a select query on the output of each, then using Filter Array to compare the output of the two select actions.
 
 
Here are the two input arrays:
 
However, the result still includes all items in the Select - SP Finance Projects output (200+ rows).
 
 
On the other hand, when I use a small test flow, I get the results I expect.
 
 
 
 
They appear to be exactly the same, so why does the test work but the complete one not work?
Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,681 Super User 2026 Season 1 on at
    Change your DAX query to already produce the exact outcome you want to compare with. No need to parse JSON.
     
    Make sure your comparison is like for like - same field names, or no field names.
  • jsangerman Profile Picture
    52 on at
    Ahh, getting rid of the parse is an obvious improvement. Thank you for that. However, the issue is still here.  
     
    You can see in the original post that the two arrays are identical (there is a single value at the bottom of the 250+ values in the SP list). Since I'm using NOT(CONTAINS(..., the result should only include values in the second (SP) list that are not in the first (the one from Power BI). Instead, I'm just getting the original list (SP), as if no comparison is being made.
     
    Here is the copied output from the Select - SP Finance Projects action:
    [
    1,
    2,
    3,
    ...
    277,
    99999,
    278,
    279
    ]
     
    And here's the output from the Select - Finance Master List action:
     
    [
    1,
    2,
    3,
    ...
    277,
    278,
    279
    ]
     
    Column names aren't an issue here, the direct input shouldn't be an issue. I have two arrays that are nearly identical, but the filter action isn't working the way it does in my simpler flow.

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