cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
debarbanson
Helper II
Helper II

Check for completeness form returns circular reference

Hi all,

 

Been cracking my head on the following and could really use some help.

I have a form which looks as the below. All fields except select number of load terminals, refer to columns in a sharepoint list.
What I would like to check is the following:

If the number of load terminals = 1, check if Load Terminal is filled, check for arrival date hour, time counts from date hour etc. and if that is all the case, in the field Status Load Terminal (also sharepoint column) indicate "Complete" or "Not Complete").

However when I start my if statement in the default attribute of the Status Load Terminal as follows:
If(Dropdown3.Selected.Value (that's the name of select number of load terminals) = 1 And DataCardValue1.Text (refers to the field Load Terminal 1) <> "", "Complete", "Not Complete" I get an error message stating there is a circular reference.

If I would leave out the Dropdown3.Selected.Value it is OK and I get Complete as result. Any clues on how to solve this?

Screenshot 2021-05-10 at 19.46.51.png

 

In the end I would like to populate complete/not complete in the Status Load Terminal Screen because then in a gallery overview I created I can refer to ThisItem.Status Load Terminal and based on the result Complete/Not Complete I can color the specific item in the gallery.

 

Do hope the above makes a bit of sense. If there is another way of easily tracking if all fields contain a value so I can show the Complete/Not Complete in the gallery overview, that would also be appreciated. Many thanks in advance for any tips.

21 REPLIES 21

Label 7 is a text field I have on the side of the screen to show the user if the data is complete y/n and in case complete in green color otherwise red, see screenie. So it's not part of the editform.
Where do I insert the Label7.Text update property?Screenshot 2021-05-12 at 20.39.06.png

 




RandyHayes
Super User III
Super User III

@debarbanson 

Just change the Update property of the DataCard for that StatusLoadTerminal column.

Currently you are getting your value from DataCardValue3.Text, but if you have what you want in Label7, then set the update to Label7.Text

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

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

secondImage

Demo Extravaganza Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,880)