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 / Condition not working,...
Power Apps
Unanswered

Condition not working, but the segments work

(0) ShareShare
ReportReport
Posted on by 894

Hi,

 

So, I have this condition on DisplayMode. The DisplayMode becomes Edit even though it doesn't fulfill the requirements. I have tested each condition on its own and then it shows DisplayMode.Disabled. But altogether it doesn't work.

 

Any ideas on why this could be happening? Performance? Other limits? 

If(
 "FM" in First(ColCandidate).key_fmtm And ActiveModule = 5,
 DisplayMode.Edit,
 If(
 ActiveModule = 2 And CountRows(colProject) <> 0 And !IsBlank(colModules.key_sentsurveycheck),
 DisplayMode.Edit,
 If(
 !IsBlank(colModules.key_sentsurveycheck),
 DisplayMode.Edit,
 DisplayMode.Disabled
 )
 )
)


The limit is 2000 rows on the app.
Thankful for any ideas.

Categories:
I have the same question (0)
  • Gyllentid Profile Picture
    894 on at

    One big change I made was to make as much as possible into collections to get around delegation warnings. But I now read that for performance, try to limit the amount of collections. Does anyone know a limit of how many is too much? 

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

#2
Haque Profile Picture

Haque 261

#3
Kalathiya Profile Picture

Kalathiya 221 Super User 2026 Season 1

Last 30 days Overall leaderboard