cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ThomasVDS
Helper III
Helper III

Formula with delegation warning doesn't work with only 100 records

Hi,

 

I am building a powerapp using Azure SQL as data source.

Idea is to use the same app for desktop and mobile device. Therefor I am using the formula below because some screens are shared but the original gallery is different (different screens).

The item from my gallery is as follows (I do get a delegation warning).  

If(Mobile="Yes",LookUp('[dbo].[Escenters]',Email=galEscenters_Mobile_ActiveDir.Selected.Mail,LookUp('[dbo].[Escenters]',Email=galEscenters_ActiveDir.Selected.Mail))

Unfortunately, the item is not displayed, while I have less than 100 records.

When I only use the lookup part, it works fine.

 

Can anyone help me? I could create a new screen, so I have a seperate one for desktop and mobile, but this was not my intention.

Thanks!

Kr

1 ACCEPTED SOLUTION

Accepted Solutions
RezaDorrani
Dual Super User II
Dual Super User II

Hi @ThomasVDS 

 

Somehting seems off with your query 

 

try 

If(Mobile="Yes",LookUp('[dbo].[Escenters]',Email=galEscenters_Mobile_ActiveDir.Selected.Mail),LookUp('[dbo].[Escenters]',Email=galEscenters_ActiveDir.Selected.Mail))

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

2 REPLIES 2
RezaDorrani
Dual Super User II
Dual Super User II

Hi @ThomasVDS 

 

Somehting seems off with your query 

 

try 

If(Mobile="Yes",LookUp('[dbo].[Escenters]',Email=galEscenters_Mobile_ActiveDir.Selected.Mail),LookUp('[dbo].[Escenters]',Email=galEscenters_ActiveDir.Selected.Mail))

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

Thank you very much! 🙂

I didn't see it and unfortunately Powerapps error handling is not always so helpful in my opinion

 

Kr

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

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