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

Notifications

Announcements

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:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,117 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
    153,117 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard