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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / how to make a button v...
Power Apps
Answered

how to make a button visible based on two factors

(0) ShareShare
ReportReport
Posted on by 54

I have an app which has a drop down to filter what it shows. 

One of the fields is a date of when the data has been submitted. this is shown on datacardvalue109

 

What would I need to put in the visible field of the button to make it show only if the drop down is on a certain option and the date field has no data in it.

 

I can make it show easily enough based on just the drop down with:
If(FormTypeDropdown.Selected.Value = "text", true,false)

But no clue how to add the fact it also needs to check the date datacard for a value to make it show or not so any help would be great

Categories:
I have the same question (0)
  • RJM07 Profile Picture
    801 on at

    Add in the next section between Text and True

    so If(FormTypeDropdown.Selected.Value = "text" && *******  , true,false)

  • jdrm1 Profile Picture
    54 on at

    tried:
    If(FormTypeDropdown.Selected.Value = "Text" && IsBlank(DataCardValue109), true,false)

     

    But that seems to just make it not show at all. Need it to show on a certain drop down unless date field has a date in it.

  • RJM07 Profile Picture
    801 on at

    swap the && for a comma

  • jdrm1 Profile Picture
    54 on at

    Tried that just now and it is always invisible now

  • Verified answer
    RJM07 Profile Picture
    801 on at

    I've done some testing and I think this should work for you 

    If(FormTypeDropdown.Selected.Value = "text",true,IsBlank(DataCardValue109),true,false)

  • jdrm1 Profile Picture
    54 on at

    Still shows when there is a date in that datacardvalue though

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @jdrm1 

    No need for the If(), the formula reduces to either true or false.

    FormTypeDropdown.Selected.Value = "text" && IsBlank(DataCardValue109.Text) //Or SelectedDate 

     

    @Drrickryp 

    Department of Redundancy Department

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard