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

View solution in original post

Hi  RezaDorrani,

 

thank you for your help.

 

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

 

Best regards

 

Gunnar 

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