cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
IMathur
Helper V
Helper V

Maximum number of lookup conditions

Hi Folks, 

 

I want to know, what is the maximum number of conditions that the LookUp function can handle?

2 ACCEPTED SOLUTIONS

Accepted Solutions
mdevaney
Super User
Super User

@IMathur 

There aren’t any limits to the number of conditions LOOKUP can take. 

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

v-xida-msft
Community Support
Community Support

HI @IMathur ,

Do you want to know how many conditions could be added inside the LookUp function?

 

Currently, within Power Apps, there is no hard limits with the amount of conditions could be added inside the LookUp function. You could use the '&&' operator to concatenate multiple conditions inside the LookUp function.

 

But the more conditions added in your LookUp function, the lower performance your LookUp function would get. If you want to filter your data source records based on multiple condition, you could consider use Filter function to achieve your needs, instead of LookUp function:

Filter(
       'Your Data Source',
       Condition1,
       Condition2,
       ...
)

 

Regards,

Community Support Team _ Kris Dai
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
mdevaney
Super User
Super User

@IMathur 

There aren’t any limits to the number of conditions LOOKUP can take. 

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

v-xida-msft
Community Support
Community Support

HI @IMathur ,

Do you want to know how many conditions could be added inside the LookUp function?

 

Currently, within Power Apps, there is no hard limits with the amount of conditions could be added inside the LookUp function. You could use the '&&' operator to concatenate multiple conditions inside the LookUp function.

 

But the more conditions added in your LookUp function, the lower performance your LookUp function would get. If you want to filter your data source records based on multiple condition, you could consider use Filter function to achieve your needs, instead of LookUp function:

Filter(
       'Your Data Source',
       Condition1,
       Condition2,
       ...
)

 

Regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PWREduCon768x460.png

Join us at PWR EduCon - A Power Platform Conference

Learn from the top Power BI, Power Apps, Power Automate & Power Virtual Agents experts!

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