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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Make a Datacard visibl...
Power Apps
Unanswered

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:
I have the same question (0)
  • 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard