cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

Distinct function for combobox is populating blanks

Hey guys, im trying to do a simple thing - I have a SP List in which the "Title" column have some duplicate values.
In my app, i would like to populate a combobox with all the UNIQUE "Title" values using the Distinct function, but when im doing it, im getting only blanks:

Barak_S_1-1611485537632.png

Barak_S_2-1611485555662.png

Barak_S_3-1611485566789.png



Any idea why and how can i fix this?

**BTW the "Title" column is text.

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

@Barak_S ,

Just a little bug I have struck before - not sure why it happens at random times. Result is the output of an Distinct Filter.

 

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

3 REPLIES 3
Super User III
Super User III

Hi @Barak_S ,

Firstly that syntax is correct if test1 is the name of your list and Title is a Single Line of Text column containing values.

A combo box will not show a value until a selection is made. Just for a debugging exercise, put this

Sort(
   Distinct(
      test1,
      Title
   ),
   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.

Works Perfect now!
Why did i need to put in in "sort" and what is "Result"?  Thanks!

@Barak_S ,

Just a little bug I have struck before - not sure why it happens at random times. Result is the output of an Distinct Filter.

 

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

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (34,973)