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 / 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?

 

 

 

I have the same question (0)
  • 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

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