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

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

@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

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

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

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