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 / Make a Datacard visibl...
Power Apps
Answered

Make a Datacard visible depending on another Datacard value

(0) ShareShare
ReportReport
Posted on by 14

Hi guys, I am having troubles with making visible my data card depending on another data card dropdown list that I have, actually I want my data card LMP disappear when I choose a "Male" sex.

 

I am putting this formula but somehow it shows me an error: If(DataCardSex.Selected.Value = "Female",true,false)

Gacosta24_0-1618412775120.png

error is here:

Gacosta24_1-1618413030052.pngGacosta24_2-1618413115416.png

Thanks everybody for your help!

 

Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Gacosta24 

    Put DataCardSex.Selected.Value <> "Female" in the visible property of the card you want to hide.There is no need for the If() since the formula above reduces to either true or false. 

  • Gacosta24 Profile Picture
    14 on at

    Hi @Drrickryp ,

     

    Thanks for answering, pardon me I am new to this,  I got this:

    Gacosta24_0-1618421149697.png

     

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Gacosta24 

    What type of column is DatacardSex and what is actually being saved in it?

  • Gacosta24 Profile Picture
    14 on at

    Is a Choice column with text field 

    Gacosta24_0-1618477140305.png

    Gacosta24_1-1618477151915.png

     

     

  • Verified answer
    Gacosta24 Profile Picture
    14 on at

    I replace it with a radio choice and I managed to make my Datacard hide by putting the following command RadioSex.Selected.Sex="Female" but I don't know why it does not work with DataCardSex.Selected.Value <> "Female" nor DataCardSex.Selected.Value = "Female", strange

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard