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 / Help with Distinct For...
Power Apps
Unanswered

Help with Distinct Formula

(0) ShareShare
ReportReport
Posted on by 2
I am trying to only show distinct choices from 2 sharepoint fields on my powerapp. My sharepoint list is called RWA Approver Matrix. The choices I need to show are from the fields called Division Contracts Manager and Delegates. These are both people fields. Here is what I currently have in the items field, and it works fine for the Division Contracts Manager field but I am not able to get it to work for both of the fields. It would be a bonus if anyone can help me also filter by a Field called Division that is also on my RWA Approver Matrix list. Any help would be greatly appreciated.
 
Distinct('RWA Approver Matrix','Division Contracts Manager'.DisplayName)
Categories:
I have the same question (0)
  • Meekou Profile Picture
    200 Moderator on at
    ​
    For your request to show distinct choices from two fields, you could try to combine the two column rows by Table.
    Try something like below
    Distinct(
        Table(
            RenameColumns(
                ShowColumns(
                    Students,
                    Owners
                ),
                Owners,
                Persons
            ),
            RenameColumns(
                ShowColumns(
                    Students,
                    Manager
                ),
                Manager,
                Persons
            )
        ),
        Persons.DisplayName
    )
    Replace Students with your data source, and replace Owers&Manager with your own fields.
    Regards,
    Meekou
    Personal Support
     

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard