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 / Show hidden data card ...
Power Apps
Answered

Show hidden data card with selecting icon

(0) ShareShare
ReportReport
Posted on by 13

I'm customizing ms form in power app. I would like to set some data cards hidden until the user click on the icon (for example plus sign). My initial thought was to initiate variable, OnVisbile use formula UpdateContext({DataCard2Visible:false}) - DataCard2 is the card that i want to hide. Then in OnSelect I wanted to add following UpdateContext({DataCard2Visible:true}). This logic however is not working. Can you please advice. Thank you

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    154,621 Most Valuable Professional on at

    HI @KasiaBosman ,

    You need to use a Variable (you can call it whatever you want) - to hide

    UpdateContext({varVisible: false}) 

    to show

    UpdateContext({varVisible: true}) 

    Then the Visible of the DataCard2

    varVisible

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

     

  • Verified answer
    Sunil Kumar Pashikanti Profile Picture
    1,077 Moderator on at

    Hi @KasiaBosman ,

     

    For your screen/page - OnVisible property - add this formula: UpdateContext({DataCard2Visibility: false});
    For the DataCard Visible property in the form - add this variable: DataCard2Visibility
    For the icon - OnSelect property - add this formula: UpdateContext({DataCard2Visibility:true})

    Your form will look like this for the first time it loads:

    SunilPashikanti_0-1700197930652.png

    Click on the icon to show the DataCard2 in the form

    SunilPashikanti_1-1700198033702.png
    The data card will be displayed as shown below:

    SunilPashikanti_2-1700198104306.png

     

    If this solves your question, would you be so kind as to accept it as a solution & give it a thumbs up.

    Thanks!

     

     

  • KasiaBosman Profile Picture
    13 on at

    Thank you @SunilPashikanti this works! 

  • Verified answer
    WarrenBelz Profile Picture
    154,621 Most Valuable Professional on at

    @KasiaBosman ,

    You might note that was exactly what I posted earlier.

  • KasiaBosman Profile Picture
    13 on at

    Yes, Warren you are right! Sorry I just saw Sunil's answer first! Thank you

    !

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 538 Most Valuable Professional

#2
11manish Profile Picture

11manish 307

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard