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 / Showing the attachment...
Power Apps
Unanswered

Showing the attachment field based on a calculated number field

(0) ShareShare
ReportReport
Posted on by 2

I want to hide the attachment field unless a calculated number field <> 0.  The calculation is done in the Power Apps form field-not in Sharepoint.

 

This is what I have in the Visible property;

If(Value(DataCardValue7.value) <> 0, true, false)

 

This is the error;

CHada_0-1688066996463.png

What am I missing?  I appreciate any help I can get.

Categories:
  • WarrenBelz Profile Picture
    156,570 Most Valuable Professional on at

    Hi @CHada ,

    Try a Capital V in Value. You can also shorten it (you do not need If/true/false)

    Value(DataCardValue7.Value)> 0

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • CHada Profile Picture
    2 on at

    I tried using Value(DataCardValue7.Value)>0 and now getting the error below.  Does it have anything to do with the DataCardValue7 field being a calculation?

     

    CHada_0-1688132701733.png

     

  • WarrenBelz Profile Picture
    156,570 Most Valuable Professional on at

    @CHada ,

    Try

    Value(DataCardValue7.Text)> 0

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

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 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard