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 / in operator does not w...
Power Apps
Unanswered

in operator does not work on mobile offline

(0) ShareShare
ReportReport
Posted on by 25

Hello, i am building offline-enabled canvas app and below code working on web player but not working on mobile.

Filter('Project Tasks' As test,
test.Code in Distinct(UserTasksCollection, ProjectTask.Code)
)

 

I realize that the problem is "in" operator. What can I use instead?

Categories:
  • vaubeee Profile Picture
    533 on at

    Hi @mertadsay ! Problem is the non-delegable nature of 'in'. You could try combining Filter and LookUp instead. Like so:

    Collect(
     LocalTasks,
     Filter(
     'Project Tasks',
     LookUp(
     UserTasksCollection,
     ProjectTask.Code = 'Project Tasks'.Code
     ) <> Blank()
     )
    )

     

    ------------------------------------------------------------------------------------------------------------------------------
    If I have answered your question / helped to solve your problem, please accept as solution and give me a Thumbs up. Thanks! - Remember: you can accept more than one post as a solution.

  • mertadsay Profile Picture
    25 on at

     

     

     

    Thank you very much for your reply. This way now works both web and mobile but it gives delegation warning for large datasets.

     

     

    Filter(
     'Project Tasks' As tasks,
     !IsBlank(
     LookUp(UserTasksCollection, ProjectTask.Code = tasks.Code)
     )
    )

     

     

    Any suggestions for getting rid of this delegation warning? Because in production there will be more than 2000 records on these tables.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 330

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard