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 Apps
Unanswered

Visability issue

(1) ShareShare
ReportReport
Posted on by 792

Hi

I'm hoping someone can help. I have two data cards within a form, the first has a radio button and I want the second to only appear when the radion selected is No. 

I have put the following in visibility, however the second card is still showing when the radio button has no selection... I'm baffled as to why?

If(Radio1.Selected.Value="No",true,false)
Categories:
  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    @Kmayes Edited:

     

    Is there any code on the onchange of Radio?

     

     

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    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.👍

    Thanks,
    ANB


  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    @Kmayes Also what is the item property of Radio? What is default property of the radio button?

     

    Thanks,

    ANB

  • Kmayes Profile Picture
    792 on at

    Just false

  • Kmayes Profile Picture
    792 on at
    Choices([@'BI Data & Reporting Quarterly Reporting Reviews'].'Is the report functioning as expected?')
  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    @Kmayes It should work if you have added the code on the Visible property of control. Can you share the screenshot please?

     

    Thanks,

    ANB

  • Kmayes Profile Picture
    792 on at

    Kmayes_0-1720705398396.png

    This is the visable code 

  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    @Kmayes This is pretty straight forward code and it should work. Please clarify this:

    ANB_0-1720705621890.png

     When you say no selection does that mean that user has selected "No" option from radio button? Or you mean nothing is selected in radio? Try this:

    If(Radio1.Selected.Value="No" || IsBlank(Radio1.Selected.Value),true,false)

    Thanks,

    ANB

  • powerJu Profile Picture
    36 on at

    It is because when the control radio is empty it is not equals to NO. Handle it by

     

    If(Radio1.Selected.Value="Yes",false,true) (Inverted the logic and everything different than it will be true) or add one more condition  If(Radio1.Selected.Value="Yes",false,IsBlank(Radio1.Selected.Value),false,true)
  • Kmayes Profile Picture
    792 on at

    Yes sorry that read a bit confusing so the radio button has only two options Yes or No but if the form is new there will be no selection yet, so in effect I only want the second card to show if No is selected not when there is no selection

  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    @Kmayes Try this:

    If(Radio1.Selected.Value="No" && !IsBlank(Radio1.Selected.Value),true,false)

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    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.👍

    Thanks,
    ANB


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 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard