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 / LookUp sharepoint choi...
Power Apps
Unanswered

LookUp sharepoint choice to text column

(0) ShareShare
ReportReport
Posted on by

Hello all,

 

I have code which compiles but my variable does not get a value. Code below:

Set(ProdDir, LookUp(BatchTrack, 'Batch ID'= BatchID1.Text && 'Wafer ID'= WaferID1.Text, Product.Value));

ProdDir does not have any data assigned to it after execution of the command. Is it an issue with the value from SharePoint list BatchTrack product column which is choice type.

 

Thanks for your help.

 

Rob

Categories:
I have the same question (0)
  • v-mengmli-msft Profile Picture
    on at

    Hi @rob4681 ,

     

    Could you tell me where you put this code and whether Product is a multi-select column?

     

    Rimmon

  • rob4681 Profile Picture
    on at

    Hi Rimmon,

     

    It's part of the onselect from a gallery. It's a choice column... only one value can be selected.

     

    Thanks.

  • Verified answer
    v-mengmli-msft Profile Picture
    on at

    Hi @rob4681 ,

     

    If BatchID1 and WaferID1 are controls in your gallery, and I'm guessing you want to set this variable to the value of the Product column of the currently selected item, then you can try this:

    Set(ProdDir,ThisItem.Product.Value)

     

    Best regards,

    Rimmon

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard