web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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,479 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard