web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Problem - My condition...
Power Apps
Unanswered

Problem - My condition always returns "Passed" regardless if it should be "failed"

(0) ShareShare
ReportReport
Posted on by

Hi, 

 

I have a form that contains "Choice" dropdowns with the options "Yes" or "No". At the end of the form i have a text field that should show "Passed" or "Failed" based on whether the checks have returned the correct "choice" to determine if the check has passed or not. However, regardless if it should say "Failed" it always returns "Passed" because the statement is passing with a true value when it should be a false value. Below is the code to determine if its passed or not. Any help would be greatly appreciated. 

 

PowerNovice_0-1700567069283.png

I have also tried the following with nested If statements. 

 

PowerNovice_0-1700567212626.png

 

 

Categories:
  • PowerNovice Profile Picture
    on at

    Update - with the nested IF, when the confition is false, nothing is visible within the "PassFail" text datacard - however when true "Passed" appears. What could be causing this not to show when it fails? 

  • Akash1ve Profile Picture
    112 on at

    try to convert left side with text:

    Text(DataCardValue38.Selected.Value)="Yes"

    Like this

  • PowerNovice Profile Picture
    on at

    When i've done that on both ways it hasnt worked 😞

     

    Attempt 1 - Now it says "Failed" when it should be "Passed"

    Attempt 2 - It shows blank when it should show "Passed"

     

    It appears this defaults the condition to false, whereas the way it was before defaults to true regardless of statements.

  • Akash1ve Profile Picture
    112 on at

    i would suggest you test with one signle condition at a time and then put second and test like wise test all the conditions

  • PowerNovice Profile Picture
    on at

    Hi, yeh it fails on the first statement, not sure as to why it doesnt work

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 239

Last 30 days Overall leaderboard