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 / Fields visible propert...
Power Apps
Answered

Fields visible property not being evaluated unless check box is actioned

(0) ShareShare
ReportReport
Posted on by 1,362

I have a few controls on a form and each of these fields have a formula that evaluates the check box "Budgeted".
If it is checked checked true and the rest of the formula is true then show x controls or if its not true and if it is and the rest of the formula is true then dont show x controls.

<visible property control 1>= If(
chkBudgeted.Value = true && Value(txtTotalAmount.Text) > 9999,
true,
false
) || If(
chkBudgeted.Value = false && Value(txtTotalAmount.Text) >= 1500 && Value(txtTotalAmount.Text) <= 49999,
true,
false
) || If(
chkBudgeted.Value = false && Value(txtTotalAmount.Text) > 49999,
true,
false
)

I have fields that hold a Quantity value and one that holds a Dollar value and if the Total Amount value falls in between the values above then it should show certain fields based on the "Budgeted" checkbox value.

If I check the "Budgeted" check box and then uncheck it, the formula runs and then shows the fields. Ugh 😛 

Categories:
I have the same question (0)
  • Verified answer
    iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    You put || between your separate If checks, so if any of them is true, they are true.

    Yours is like this:

    (If A=1) || (If B=2)

    in which case, if EITHER of them are ture, the whole thing equates to true:

    (true) || (false) = true

    (false) || (true) = true

     

    So you should do them like this instead:

    If(
     chkBudgeted.Value = true && Value(txtTotalAmount.Text) > 9999,
     true,
     //else if
     chkBudgeted.Value = false && Value(txtTotalAmount.Text) >= 1500 && Value(txtTotalAmount.Text) <= 49999,
     true,
     //else if
     chkBudgeted.Value = false && Value(txtTotalAmount.Text) > 49999,
     true,
     //else
     false
    )

     

    Cheers,

    Sancho

  • golfnutt82 Profile Picture
    1,362 on at

    Got it! Awesom! Thank you!

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard