cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
GunnarGillert
Level: Power Up

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
Dual Super User
Dual Super User

Re: Filtered Lookup Column - filtered value will not be saved.

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
Dual Super User
Dual Super User

Re: Filtered Lookup Column - filtered value will not be saved.

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

GunnarGillert
Level: Power Up

Re: Filtered Lookup Column - filtered value will not be saved.

Hi  RezaDorrani,

 

thank you for your help.

 

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

 

Best regards

 

Gunnar 

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,561)