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 Apps
Answered

Lookup issue

(0) ShareShare
ReportReport
Posted on by

Hello, 

i have a lookup issue and i don't understand what the error is.

 

I have a SP list and i want to see the Millesime record when the title is display in the form.

ALP1_0-1615936261035.png

 

In the form, i add this formula

 

ALP1_0-1615938052420.png

 

The value from code titre is given a lookup formula.

ALP1_2-1615936898030.png

What i'm doing wrong ?

thank you

 
 
Categories:
I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at

    Hi@ALP1,

    Based on the issue that you mentioned, do you want to populate the drop down control based on the Title value?

    Could you please tell me that

    1. if this Millesime column is a Text type in your SP list?
    2. is this drop down control corresponding to the Millesime a Combo Box or a Dropdown box

    From your screenshot, I think Millesime column is a Text column and you have replaced the TextInput corresponding to the Millesime with a drop down control.

    Actually, whatever the Combo Box or a Dropdown box, it expects a Table value rather than a Text or a record.

    The LookUp() you provided returns a Text value which is not matched to the Combo Box or a Dropdown box.

    Please modify your formula as below:

    [LookUp(YourSPList,Title=code_titre_value.Text).Millesime]

    Notice that you should add a "[]" outside your LookUp formula.

    Hope it could help.

    Regards,

    Qi

     

     

  • Community Power Platform Member Profile Picture
    on at

    hi,

    It's very intersting. I add the [] and it's work well. 

     

    [If(txt_First_habilitation.Text = "Oui";(LookUp(Synthese_Titres;Intitulé=ComboBox_titre_habilitation.Selected.Result).Title);LookUp(Synthese_Titres;Intitulé=ComboBox_titre_rehabilitation.Selected.Result).Title)]

     

    Big thanks

     

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard