cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SharePointDev12
Helper I
Helper I

SharePoint Lookup field, Distinct values on powerapp form

I have SharePoint lookup field with duplicate values, on the powerappform how to remove the duplicate values... Distinct function not working

1 ACCEPTED SOLUTION

Accepted Solutions

@colbyc ,

Something like

Distinct(
   Filter(
      List,
      MatchingColumn=FirstDropDown.Selected.Result      
   ),
  ColumnName
).Result

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

7 REPLIES 7
eka24
Super User
Super User

Try

Distinct (List,ColumnName.Value)

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

 

Distinct is not working binding empty values

@SharePointDev12 ,

Distinct(
   Filter(
      List,
      !IsBlank(ColumnName)
   ).ColumnName,
  ColumnName
)

Hi @SharePointDev12 ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

colbyc
Helper IV
Helper IV

Hey @WarrenBelz kind of an extension of above question - once the user selects the column1 distinct value, if I wanted to add a second lookup column2 that pulls distinct values from lookup table where column1 matches, how would I do that?

@colbyc ,

Something like

Distinct(
   Filter(
      List,
      MatchingColumn=FirstDropDown.Selected.Result      
   ),
  ColumnName
).Result

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

@WarrenBelz you are a savant! thanks!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (3,493)