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 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,297 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,297 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,297 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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard