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

Show a field when number entered in a number field is greater than zero

Hi, I have two fields, a number field (DataCardValue3) and a single line of text field.

The number field is blank to begin with. If a value is entered which is greater than 0, I would like the text field to appear.


On the Visible of the text field I have attempted variations of the following without success.

If(Value(DataCardValue3 >0 true, false))

 

Any advise welcomed.

1 ACCEPTED SOLUTION

Accepted Solutions
mdevaney
Super User
Super User

@KevHouston 

Use this code.  No IF function is necessary:

Value(DataCardValue3.Text) > 0

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

2 REPLIES 2
eka24
Super User
Super User

Use

If(Value(DataCardValue3.Text) >0, true, false)

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

mdevaney
Super User
Super User

@KevHouston 

Use this code.  No IF function is necessary:

Value(DataCardValue3.Text) > 0

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,639)