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

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard