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 / Conditional DisplayMod...
Power Apps
Unanswered

Conditional DisplayMode in gallery control

(0) ShareShare
ReportReport
Posted on by 13
Hi,
Let's say there are 5 items in a gallery control with a column named 'Status'. Out of those items, 2 has a Status as Blank while other 3 items have some text value. I wish the displaymode of the gallery control to be enabled if the status is blank while for other records it should be disabled. Is it possible to achieve for a gallery control?
I have the same question (0)
  • mmbr1606 Profile Picture
    14,605 Super User 2026 Season 1 on at
    hey,
     
     
    this should to the trick:
     
    If(IsBlank(ThisItem.Status), DisplayMode.Edit, DisplayMode.Disabled)
    

    you need to set it in the displaymode property of whatever you want to show/hide
    ​​​​​​​
    if it helped please mark as verified answer
     
    cheers
  • Rajarshi Singh Profile Picture
    13 on at
    Hi @mmbr1606,
    It is throwing an error as Name isn't valid. 'ThisItem' isn't recognized.

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

Haque 84

#2
WarrenBelz Profile Picture

WarrenBelz 79 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 40 Super User 2026 Season 1

Last 30 days Overall leaderboard