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 filter SharePoi...
Power Automate
Answered

How to filter SharePoint list based on Excel Online contents

(0) ShareShare
ReportReport
Posted on by 114

In the 2 steps shown below, I am using the Excel Online action, List rows in table, to bring in specific rows from a spreadsheet stored on Teams.  You can see I am using a Filter query.  Then, I would like to Get Items from a SharePoint list. I want to filter the SharePoint items based on the items filtered from Excel online using the eKey. 

 

In this flow, I manually keyed in a value to make sure that I have the column name correct, and what is shown does work. But, I'm having trouble when I try to make it more dynamic and use the eKeys from Excel. 

FreeRangeDingo_0-1669678402678.png

 

When I change it to this, I get this error.  The expression "eKey eq 142xxxxxxxx0" is not valid. Creating query failed. I tried putting single quotes around the eKey dynamic content but that did not work.

FreeRangeDingo_1-1669676842269.png

Then, I thought that I might need to create a concatenated string to feed into the query, so I added in a Select action and a Compose (using a join expression), and this works with one ekey. 

FreeRangeDingo_2-1669677920013.png

But, when my Excel file has more than one eKey the flow completes successfully but nothing is returned in the output.

 

 

NOTE

Categories:
I have the same question (0)
  • Verified answer
    FreeRangeDingo Profile Picture
    114 on at

    One of my original solutions was correct.  The 2nd screenshot with quotes around the dynamic content did work.  Not sure why it didn't work the first time I tried it.

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard