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 / Concatenate several va...
Power Apps
Answered

Concatenate several values from a related table

(0) ShareShare
ReportReport
Posted on by

I want to concatenate the present values from a related table, just the ids linked to that item in the gallery.

 

Example:

 

Concat(MYSPList2;LookUp(MYSPList2;IDLookUp=ThisItem.ID).ColumnName; "  -  " )

 

Concatenate(LookUp(MYSPList2;IDLookUp=ThisItem.ID).ColumnName & " - " )

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Gorilla_8 

    Concat and Concatenate are two entirely different functions.  

    If you are just trying to put together two (or more) values, then utilize the concatenate shortcut of the & character.

    Ex.  LookUp(MYSPList2; IDLookUp=ThisItem.ID; ColumnName) & " - "

     

    Beyond that, I am not clear on what issue you are having.

     

    I hope this is helpful for you.

  • Gorilla_8 Profile Picture
    on at

    @RandyHayes 


    Thanks!

    Yes, I know...

    And I wanna get two more values based on IDLookUp...

    You mean like this>

    Concatenate(LookUp(MYSPList2; IDLookUp=ThisItem.ID; ColumnName) & " - " )

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Gorilla_8 

    Are you trying to get those column values from the same lookup? Same record?

     

    If so, then utilize the following:

    With(LookUp(MYSPList2; IDLookUp = ThisItem.ID); ColumnName & " - " & ColumnName2 <& etc>)
  • Gorilla_8 Profile Picture
    on at

    @RandyHayes 

     

    I want to get all data from a column of the same ID from the main table

     

     

     

    I want to get all data from a column of the same ID from the main table

     

    Example:

     

    I have ListA with ID 1

     

    And I have ListB with the IDLookUp 1, with 3 items.

     

    I want to show the 3 items from ListB concatenated in the main gallery of ListA

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Gorilla_8 

    Then that would be the Concat function.

    Concat(Filter(ListB, IDLookUp = ThisItem.ID), columnName & "; ")

     

    This would produce a semi colon separated text result.

  • Gorilla_8 Profile Picture
    on at

    @RandyHayes 

     

    Thank you very much!

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 483

#2
WarrenBelz Profile Picture

WarrenBelz 399 Most Valuable Professional

#3
11manish Profile Picture

11manish 327

Last 30 days Overall leaderboard