cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ianallen13V2
Frequent Visitor

Correct or Incorrect field based on selected values

Hello, 

 

I am building a quality assurance form in PA and I have a list of possible errors that one may make.  What I want to do is build a hidden field that shows either 'correct' or 'incorrect' if any of the list items of errors is selected.  I'm sure that this would be pretty easy, but I just cannot think of how to do it right now - but if anyone has any suggestions - all ears.  Currently, I have a hidden field that just counts the number of errors.... but I want to have something that if even one error is counted, it's 'incorrect', but if no errors are counted - then obviously it's 'correct' 

1 ACCEPTED SOLUTION

Accepted Solutions
zmorek
Power Participant
Power Participant

You could simply do something like: If(Value(ErrorLabel.Text) > 0 , "Incorrect", "Correct")

 

Or update your current label by wrapping the If() statement around the existing statement:

If([your existing statement] > 0 , "Incorrect", "Correct")

View solution in original post

2 REPLIES 2
zmorek
Power Participant
Power Participant

You could simply do something like: If(Value(ErrorLabel.Text) > 0 , "Incorrect", "Correct")

 

Or update your current label by wrapping the If() statement around the existing statement:

If([your existing statement] > 0 , "Incorrect", "Correct")

View solution in original post

ianallen13V2
Frequent Visitor

This worked!!  

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

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.

Users online (2,949)