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

Lookup issue

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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:
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee 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
    Microsoft Employee 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard