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 / If CurrentItem Contain...
Power Automate
Answered

If CurrentItem Contains function not working in Power Automate Desktop

(0) ShareShare
ReportReport
Posted on by 7

Hi there,

 

There seems to be an issue with the Contains function in PAD (or I am doing something wrong on my side).

 

I am scraping a list of the following values, see image 1:

 

Robinh0_0-1661174869108.png

 

However, when I loop through that list and check IF the CurrentItem contains GDXJ (for example), it does not work.

 

Robinh0_2-1661175099200.png

Does anyone know what is going wrong here?

 

 

 

  • Verified answer
    MichaelAnnis Profile Picture
    5,727 Moderator on at

    Your variable is a datatable. For each looks different for a datatable and actually makes a list of all items in a single row. 

    first use “create list from datatable column” or something like that to turn your results column into a list, then it should work. 

  • Robinh0 Profile Picture
    7 on at

    Amazing, it works, 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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 425

#2
11manish Profile Picture

11manish 323 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard