web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Display Mode If Lookup
Power Apps
Answered

Display Mode If Lookup

(0) ShareShare
ReportReport
Posted on by 438

I'm encountering issues with the DisplayMode when trying to look up an SP list. I've written the function, which is supposed to be correct.

 

If(LookUp('DHS Students Users', 'Full Name' = User().FullName).Graduation.Value, "Yes", DisplayMode.Edit, DisplayMode.Disabled)

 

If the answer is 'yes,' it will show 'Edit'; if not, it will be disabled.

Categories:
I have the same question (0)
  • Verified answer
    v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @dylandavis09 

    The if() function is :
    IfConditionThenResult [, DefaultResult ] )

    If and Switch functions - Power Platform | Microsoft Learn

    You can try to use this :

     

     

    If(LookUp('DHS Students Users', 'Full Name' = User().FullName).Graduation.Value = "Yes", DisplayMode.Edit, DisplayMode.Disabled)

     

     

     

    If this still can not solve the issue , you can give me the error code in your side and the sample data to me and your expected outcomes in detail so that we can better help you.

     

     

    Best Regards,

    Yueyun Zhang

  • dylandavis09 Profile Picture
    438 on at

    It's been resolved, and that's quite strange. Other thing, talks about visible, it's almost compared for visible, then true, false?

     

    If(LookUp('DHS Staff Users', 'Full Name' = User().FullName).Admin.Value = "Yes", true, false)

     

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 254 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 211 Super User 2026 Season 1

#3
VASANTH KUMAR BALMADI Profile Picture

VASANTH KUMAR BALMADI 195

Last 30 days Overall leaderboard