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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (40,886)