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

Filtered Lookup Column - filtered value will not be saved.

Hi together,

I have a problem with filter lookup columns.
I have a list - List A - with text fields - some of them are empty/blank.

Now I will create an new item in list B - list B has a lookup column from list A.

PowerApps gave me 

choices([@'Datasource].ColumnName) 

here I found no workable code for filter values are not empty 
so I worked with distinct

Distinct(Filter('Listname,'.Column; !IsBlank(Column)); Column)

Now I see the correct filters values and I can selectes the values.

After saving the item - the value of the column is empty.

 

Any ideas?

Best Regards

Gunnar

1 ACCEPTED SOLUTION

Accepted Solutions
RezaDorrani
Dual Super User II
Dual Super User II

Hi @GunnarGillert 

 

Use

 

Filter(choices([@'Datasource].ColumnName) ,Value <> "")

 

where datasource - your data source name

columnName - your lookup column name

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

2 REPLIES 2
RezaDorrani
Dual Super User II
Dual Super User II

Hi @GunnarGillert 

 

Use

 

Filter(choices([@'Datasource].ColumnName) ,Value <> "")

 

where datasource - your data source name

columnName - your lookup column name

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Hi  RezaDorrani,

 

thank you for your help.

 

Your solution work and it is a nice and simply soltution.

 

Best regards

 

Gunnar 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

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.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

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