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

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:
I have the same question (0)
  • 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

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