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' expression in...
Power Automate
Unanswered

'Filter' expression in an IF statement?

(0) ShareShare
ReportReport
Posted on by 63
Hi
 
I have a flow where I am using Get Items to pull a list from Sharepoint. I then parse this response. There are only two colums on the SP site - "Title" and "Leader" and both are text colums. 
 
Later in my flow, I need an expression whereby if one expression equals the "Title" from the parse json, use the corresponding Leader text. if the title is not there, just put blank. 
 
The expression I am using to get the value to find in the SP list is:
 
item()?['Levelling']?[0]?['Level']?['MapPeople']?[0]?['Detail']?['Description']
 
so if this returns "Paper", it needs to grab the Title in the parse json from my SP list action, and return the Leader value which in this case would be "Property Services". 
 
How can I put the expression together to do this please?    I don't want to use Condition actions or Switch actions in the flow, as the flow is already v large, so I'd like to do this as an expression.
 
Thanks
SD
Categories:
I have the same question (0)

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
Valantis Profile Picture

Valantis 711

#2
Vish WR Profile Picture

Vish WR 691

#3
Haque Profile Picture

Haque 525

Last 30 days Overall leaderboard