cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
enmanbj
Level: Powered On

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
Super User
Super User

Re: Make Data Card Visible based on Drop-down value

@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
Super User
Super User

Re: Make Data Card Visible based on Drop-down value

@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

enmanbj
Level: Powered On

Re: Make Data Card Visible based on Drop-down value

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

enmanbj
Level: Powered On

Re: Make Data Card Visible based on Drop-down value

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

Super User
Super User

Re: Make Data Card Visible based on Drop-down value

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
thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Kudoed Authors (Last 30 Days)
Users online (3,789)