cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Labraham36
Helper II
Helper II

Problem with Distinct

Hello community!

 

I have a problem with a drop down list. This drop-down list happens to select data from a field, which contains repeating data. The formula in items in the drop-down list is: "Tableros_Power_BI.Tableros", and what it does is bring the field, nothing else. This field brings repeated values, Ex: A, A, B, C, D, D, D, etc. I need that field to bring only the values ​​that are not repeated, That is: A, B, C, D, ... I tried using Distinct but, although it managed to do what I need, when I save the record that data is not saved ( I do not know why).

 

I attach photos of the error when I use distinct. From already thank you very much!

 

Error 1.pngError 2.png

1 ACCEPTED SOLUTION

Accepted Solutions
Jagadeeshk
Responsive Resident
Responsive Resident

Pls try

Items =(source,columnname) "," required instead of ";"

And in update =dropdown.selected.value.

Hope the database column type is plain text not a choice column.  And note distinct is not a delegated 

View solution in original post

3 REPLIES 3
Jagadeeshk
Responsive Resident
Responsive Resident

Pls try

Items =(source,columnname) "," required instead of ";"

And in update =dropdown.selected.value.

Hope the database column type is plain text not a choice column.  And note distinct is not a delegated 

Is it working? If so please accept as a solution 

Thanks friend ! I did what you suggested but it didn't work for me. However I could select it by putting this code:

 

Update = update = dropdown.selected.Result

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,993)