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 with sharepoi...
Power Apps
Answered

Distinct with sharepoint list

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

Is there way i can use the 'distinct' function to display all the name values in SharePoint list column only once in a combo-box and then auto-fill other values in the form using lookup function. Currently all the values are repeated multiple time in the combo-box and when i try and use distinct function in the default property of the 'name' field, it gives me an error in the fields where i use lookup for auto-fill.

 

Thanks & Regards

Srinath

Categories:
  • Verified answer
    v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Do you want to display non-repeating Name field in combo box and then display the selected item in form?

    Is name field text type?

    If so, I've made a similar test for your reference:

    1)set the combo box's Items:

    Distinct(survey,Title).Result

    On your side, you should try:

    Distinct(listname,Name).Result

     2)set the form's Item:

    LookUp(survey,Title=ComboBox1.Selected.Result)

     On your side, you should try:

    LookUp(listname,Name=ComboBox1.Selected.Result)

     

    Then the combo box will display no-repeating Name value, the form will display the selected item.

     

     

    Best regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-yutliu-msft ,

     

    I have tried your solution and it works well. Thanks again for reaching out and helping. Cheers.

     

    Regards

    Srinath

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 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard