cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
hedberg90
Level: Powered On

Lookup problem with new version

I have created an app where I use a data source(Excel table,Ondrive for Business) I use a specific LookUp against this data source multiple places in the app, to manipulate colors, checkboxes and more.

 

When I were revisiting the app to do some changes, and noticed that all the checkboxes were checked off all colors where set to "Marked" in the dev environment.

Published the app again(now powerapps version 3.18081.19), all checkboxes is checked.

After the checkboxes where unresponsive I emptied the data source. All checkboxes still marked off.

When I rollback, the formula still works (powerapps version 3.18063.33, Euro style code)

 

!IsBlank(LookUp(EmployeeData;Emp_name=User().FullName And Emp_certification=Gallery1.Selected.Titles))

Color change

If(!IsBlank(LookUp(EmployeeData;Emp_name=User().FullName And Emp_certification=ThisItem.Titles)); RGBA(0; 0; 0; 0,4);  RGBA(0; 0; 0; 1))

Patch{} function is also unresponsive after what i saw after publiching tha app.

 

I cannot find any reason why all formulas using this lookup stopped working, very thankfull for any help.

 

 

1 REPLY 1
Community Support Team
Community Support Team

Re: Lookup problem with new version

Hi @hedberg90,

 

Could you please share a screenshot about your app's configuration?

 

I have made a test on my side with the LookUp function, and don't have the issue that you mentioned.

 

Please take a try to re-create your app with current PowerApps version (3.18081.19), then check if the issue is solved.

 

In addition, you could also take a try to use the Filter function to instead of the LookUp function within your formula, then check if the issue still exists. Please take a try with following formula:

If(
!IsEmpty(Filter(EmployeeData,Emp_name=User().FullName,Emp_certification=ThisItem.Titles)),
RGBA(0, 0, 0, 0.4),
RGBA(0,0,0,1)
)

On your side, it may be:

If(
!IsEmpty(Filter(EmployeeData;Emp_name=User().FullName;Emp_certification=ThisItem.Titles));
RGBA(0; 0; 0; 0,4);
RGBA(0; 0; 0; 1)
)

 

More details about the Filter function in PowerApps, please check the following article:

Filter function

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
thirdimage

Power Automate 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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 244 members 5,582 guests
Please welcome our newest community members: