cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ancy
Kudo Kingpin
Kudo Kingpin

Delegation warnings in Power Apps - Canvas App

Hi All,
We are facing issues while fetching data from the data sources in the Canvas App. We are using the SQL Server Connector and wanted to fetch the large set of records in Power Apps.
We have used the below code but it's showing the delegation warning at "&&" and "||" operators (example is given only for "&&" operator).

 

 

Set(
    loggedInEmpId,
    First(
        Filter(
            '[dbo].[employees]',
            emp_email = "test@test.com" && emp_name = "Test"
        )
    ).id

 

 

Also we face the similar problem with the "Filter" method being used under the "First" method.  

Is there any alternative to fix the aforesaid warnings?Any help would be appreciated.
Thank you

10 REPLIES 10
Ancy
Kudo Kingpin
Kudo Kingpin

Thanks everyone for the help!! My issue got resolved using the LookUp() function.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,144)