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 / Distinct and concatena...
Power Apps
Answered

Distinct and concatenate Formulas

(0) ShareShare
ReportReport
Posted on by 14

I have a gallery with a textbox in which I'm trying to Concat values and delete the duplicated.

Concat is working fine, Need help to use distinct with the result:

 

Gallery  Item property:

GroupBy(Table1,"EID","DATA")

Text box property:

Concat(ThisItem.DATA,'EU Name', ";")

Result:

Jhon;Jhon;Gabriel;Carl;Carlo

Required result:

Jhon;Gabriel;Carl

 

Table1= my DataSource

EID= The column I used to GroupBy

DATA= The column I created to unify the GroupBy values

EU NAME= A column with user names to display

Categories:
  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi @geroagos,
    Try using below formula - 

    Concat(Distinct(ThisItem.DATA,'EU Name'),Value, "; ")
  • geroagos Profile Picture
    14 on at

    Thank you! That works.

    I would need also to assing a Filter (formula bellow) to the Gallery but I have the formula: "GroupBy(Table1,"EID","DATA")".

    Is it possible to have both of them?

     

    Filter(Table1,
    (IsBlank(SearchBox.Text) || SearchBox.Text in EID)
    &&
    (IsBlank(SearchBox2.Text) || SearchBox2.Text in 'EU Name')
    )

  • Verified answer
    NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi @geroagos ,
    Yes, it is. Try using below - 

    GroupBy(Filter(Table1,
    (IsBlank(SearchBox.Text) || SearchBox.Text in EID)
    &&
    (IsBlank(SearchBox2.Text) || SearchBox2.Text in 'EU Name')
    ),"EID","DATA")
    

     

     

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard