web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dynamic parameter in L...
Power Apps
Answered

Dynamic parameter in Lookup

(1) ShareShare
ReportReport
Posted on by 9
I'm trying to create a User Defined Function and to do that i need the lookup parameter do be dynamic, is it possible?
 
In the below example I need Quantity to be a variable that i pass to the function. 
 
LookUp(IceCream, Flavor = "Chocolate", Quantity)    
Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,717 Most Valuable Professional on at
    You cannot refer to field names dynamically - one reason being that Power apps then has no ability to check the validity of any potential formula outcome.
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)    Visit my blog Practical Power Apps    LinkedIn   
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 393

#2
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 271 Super User 2025 Season 2

Last 30 days Overall leaderboard