cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Gorilla_8
Impactful Individual
Impactful Individual

distinct filter is not showing my option when I edit in the form

I have a gallery that pulls the data and saves it correctly in the database, but when pulling the edit form it is not displayed correctly

Here is my code:

 

My database is SharePoint and the column is a single line text

 

 

 

Items property:

Distinct(Filter(MycollectionNameHere;  AREA<> Blank() /*"NULL"*/);AREA).Result

 

DefaultSelectedItems:

{Value:LookUp(MycollectionNameHere;NOME=ComboBox1_38.Selected.Result).AREA}

 

Why is this happening?

 

 

 

3 REPLIES 3
WarrenBelz
Super User
Super User

@Gorilla_8 ,

I think you need

{
   Result:
   LookUp(
      MycollectionNameHere;
      NOME=ComboBox1_38.Selected.Result
   ).AREA
}

 

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.

Visit my blog Practical Power Apps

Gorilla_8
Impactful Individual
Impactful Individual

@WarrenBelz 

 

The result is only blank

@Gorilla_8 ,

That is the correct code according to what you posted. I suspect your Lookup is not valid. Please do some trouble shooting on this basis.

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 (1,511)