cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
enmanbj
Helper I
Helper I

Make Data Card Visible based on Drop-down value

I want a date picker to be visible only when the dropdown says "Closed".  Here is the function I'm using: Visible=If(DataCardValue69 = "Closed",true) 

What is missing?

closed date.png

1 ACCEPTED SOLUTION

Accepted Solutions
mdevaney
Super User
Super User

@enmanbj 

Please confirm whether you are using a Dropdown or a ComboBox.

 

Are you using a dropdown control?  If so, please change your formula to this.

 

If(DataCardValue69.SelectedText="Closed",true)

 

If you are using a ComboBox the formula will be something like this although I cannot confirm .Value is correct. You would need to look through the autocomplete options.

 

If(DataCardValue69.Selected.Value="Closed",true)

 

---
Please click "Accept as Solution" if my response helped to solve your issue so that others may find it more quickly. If your thought the post was helpful please give it a "Thumbs Up."

View solution in original post

4 REPLIES 4
mdevaney
Super User
Super User

@enmanbj 

Please confirm whether you are using a Dropdown or a ComboBox.

 

Are you using a dropdown control?  If so, please change your formula to this.

 

If(DataCardValue69.SelectedText="Closed",true)

 

If you are using a ComboBox the formula will be something like this although I cannot confirm .Value is correct. You would need to look through the autocomplete options.

 

If(DataCardValue69.Selected.Value="Closed",true)

 

---
Please click "Accept as Solution" if my response helped to solve your issue so that others may find it more quickly. If your thought the post was helpful please give it a "Thumbs Up."

@mdevaney  it doesn't want to take that one. It is a drop down. closed date.png

Sorry, it is a combo box. It is working now. 

If I had a dollar for every time someone said it was a dropdown but was in fact a ComboBox id be a very rich man LMAO. They look too similar.

I’m glad to here to hear your problem was solved.

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,040)