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
Dual Super User

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
Dual Super User

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

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
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Kudoed Authors
Users online (3,701)