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 / Combining email addres...
Power Apps
Unanswered

Combining email addresses from two sources

(0) ShareShare
ReportReport
Posted on by 94

Closest I could get was

 

ClearCollect(AllEmails, Distinct(Data1, email), Distinct(Data2,email))

 

This have me 2 tables within a table with the correct data.  Makes sense as Distinct returns a Result table. So I guess my question is how to reduce that down to one table with a column with emails for both Data1 and Data2?

Categories:
I have the same question (0)
  • cycle4passion Profile Picture
    94 on at

    Closer now, I used

     

    Concat(Data1, email, ",") & "," & Concat(Data2, email, ",")

     

    which gives me a string of emails comma separated, now trying to fit this into a dropdown. 

  • Verified answer
    cycle4passion Profile Picture
    94 on at

    I was able to piece it together. Included a separator between Data1 and Data2, and specified sortorder for each, and removed blanks created by trailing comma.

     

    Dropdown.Items = 

    Split(Left(Concat(Data1, email & ","), Len(Concat(Sort(Data1, surname, SortOrder.Ascending), mail & ","))-1) & ",-------," & Left(Concat(Sort(Data2, surname, SortOrder.Ascending), mail & ","), Len(Concat(Data2, mail & ","))-1), ",")

     

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 310 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 228

Last 30 days Overall leaderboard