Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Display text values from a linked SharePoint lookup column (source) in the gallery

(1) ShareShare
ReportReport
Posted on by 16

Hello,

 

i have 2 SharePoint Lists.

 

SharePointList1 has a lookup column (Multiple Choies) to SharePoint List2.

In SharePointList1, for example, the ID "4;7;43 .." is linked to SharePointList2 in the lookup column.

 

In a Edit Form this is not a problem and works good:

Edit Form

Items

Choices([@Syst_List].PartNumber_with_DESC_(LookUpField))

Edit Form

DefaultSelectedItems

Gallery_Systlist.Selected.PartNumber_with_DESC_(LookUpField)

 

Issue: I want to display these in the gallery in PowerApps, with

 

..Gallery_Systlist in Template,

 

Textlabel.Text= ThisItem.PartNumber_with_DESC_(LookUpField)

 

also tried..

 

Textlabel.Text=  ThisItem.'PartNumber with DESC (LookUpField)'.Value

 

Textlabel.Text= ThisItem.'PartNumber with DESC (LookUpField): Title'.Text

 

its not possible!?

 

 


Questions: Do you have any idea how the saved value could be displayed in the Gallery?
  • I_need_help Profile Picture
    16 on at
    Re: Display text values from a linked SharePoint lookup column (source) in the gallery

    Thanks M_Ali_SZ365,

    thanks Hassan_SZ_365,

     

    the first formula works straight away:

    Textlabel.Text = Concat(ThisItem.PartNumber_with_DESC_(LookUpField), Value & "; ")

     

    @Hassan:

    I would also be very interested in the second formula, However, it doesn't work that way.

     

    I think it's because the SharePointList2 cannot be addressed directly.

     

    It might help if I could address the foreign_ID via the lookup column.

    I was also able to find these in PowerQuery. But unfortunately it seems to be hidden in PowerApps.

     

    Best Regards,

    Helmut

  • Verified answer
    Hassan_SZ_365 Profile Picture
    542 on at
    Re: Display text values from a linked SharePoint lookup column (source) in the gallery

    Hi @I_need_help ,

    PartNumber_with_DESC_(LookUpField) is your lookup column, you can use the Concatenate function with LookUp to fetch the correct display values from SharePointList2:

     

    Textlabel.Text = Concat(ThisItem.PartNumber_with_DESC_(LookUpField), Value & "; ")

     

    This formula will concatenate the values from the lookup field into a single string separated by semicolons.

    If you want to display a specific property like Title from the lookup, you'd use:

     

    Textlabel.Text = Concat(ThisItem.PartNumber_with_DESC_(LookUpField), Title & "; ")

     

    Make sure you replace Title with the actual field name you want to display from the lookup values.


    Best Regards,

    Hassan Raza

  • Verified answer
    M_Ali_SZ365 Profile Picture
    1,110 on at
    Re: Display text values from a linked SharePoint lookup column (source) in the gallery

    Hi @I_need_help ,

    To display text values from a SharePoint lookup column in a PowerApps gallery, use the Concat function to turn the table of selected items into a single text string:

    Concat(ThisItem.PartNumber_with_DESC_LookUpField, Title & "; ")

    Replace Title with the specific field name you want to display from the lookup column.

    Fuel our success! 🚀 Give a thumbs up and click 'Solution Accepted' to supercharge our community. Your actions speak volumes!
    Warm regards,
    Muhammad Ali

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard