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 / Display text values fr...
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?
Screenshot 2023-11-27 150018.jpg
Categories:
I have the same question (0)
  • Verified answer
    M_Ali_SZ365 Profile Picture
    1,110 on at

    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

  • Verified answer
    Hassan_SZ_365 Profile Picture
    542 on at

    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

  • I_need_help Profile Picture
    16 on at

    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

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 514

#2
WarrenBelz Profile Picture

WarrenBelz 419 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 295

Last 30 days Overall leaderboard