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 / Concat unique items in...
Power Apps
Unanswered

Concat unique items in SharePoint list which meet criteria

(0) ShareShare
ReportReport
Posted on by 184

Hi there,

 

I'm trying to create a concatenated string of unique items which meet a criteria.

 

I have a SharePoint list of programs with columns for school and discipline and I'm trying to create a function where if a school is selected from a dropdown it concats all the disciplines in that school into a string and only lists one instance of each, i.e. Unique.

 

This is my formula so far: Concat(Filter('Program Contact List',School=CAC_School_Dropdown.Selected.Result),Discipline,",")

 

I can't figure out how to get it to spit out unique values though: At the moment it's giving me every entry which meets the school criteria.

 

Fashion & Textiles Design,Fashion & Textiles Design,Fashion & Textiles Design,Fashion & Textiles Design,Fashion & Textiles Design,Fashion & Textiles Technology,Fashion & Textiles Technology,Fashion & Textiles Technology,Fashion & Textiles Technology,Fashion Enterprise,Fashion Enterprise,Fashion Enterprise,Fashion Enterprise,Fashion Enterprise,Fashion Enterprise,Fashion Enterprise

 

Any assistance would be greatly appreciated.

 

Categories:
I have the same question (0)
  • Verified answer
    PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at

    Hi @PipManifold 

     

    Something like below code might help in your case. 

     

    Set(varConcatData,
    				
    Concat(Distinct(
    				
    Filter('Program Contact List',School=CAC_School_Dropdown.Selected.Result),Discipline) ,Result,","
    				
    )
    				
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard