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

@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 III
Super User III

@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

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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

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.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (2,281)