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 Apps / Unable to apply condit...
Power Apps
Unanswered

Unable to apply condition in Gallery

(0) ShareShare
ReportReport
Posted on by 16

Hi, 

 

I have a Gallery I which i have to validate data from 2 different sharepoint lists. So the condition looks like below

 

If(User().FullName in 'Induction Managers Time Selection'.Title && ThisItem.'Employee Name'.DisplayName in 'Induction Managers Time Selection'.EmployeeName && ThisItem.JoiningDate in 'Induction Managers Time Selection'.JoiningDate, Green, Yellow)

 

In above condition marked in Red giving error that cant convert this data type as I want to validate if the person in ThisItem.'Employee Name'.DisplayName is available in 'Induction Managers Time Selection'.EmployeeName mark green along with additional 2 conditions which are working fine.

 

talal_pervaiz_g_0-1647412605013.png

 

Categories:
I have the same question (0)
  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @talal_pervaiz_g 

    Please try the following,

    IsEmpty(Filter('Induction Managers Time Selection', User().FullName in Title &&
    			ThisItem.'Employee Name'.DisplayName in EmployeeName &&
    			ThisItem.JoiningDate in JoiningDate
    		), Yellow, Green
    )

     

    Please remember to give a 👍 and accept my solution as it will help others in the future.

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 529 Most Valuable Professional

#2
Haque Profile Picture

Haque 230

#3
Kalathiya Profile Picture

Kalathiya 217 Super User 2026 Season 1

Last 30 days Overall leaderboard