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

Announcements

News and Announcements icon
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
    154,540 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 525 Most Valuable Professional

#2
Haque Profile Picture

Haque 308

#3
Kalathiya Profile Picture

Kalathiya 234 Super User 2026 Season 1

Last 30 days Overall leaderboard