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 / hidden field disappear...
Power Apps
Answered

hidden field disappears if an additional option is selected.

(1) ShareShare
ReportReport
Posted on by 50
I have a multi-select drop down that has 2 additional hidden fields that should show up if Other or Electricity is selected, but if another field is selected after either of those, the hidden fields hide again.  I tried using in and that doesn't work.  This is due to go live tomorrow, could use some help!  
Categories:
I have the same question (0)
  • Suggested answer
    Haque Profile Picture
    3,653 on at
     
    Could you please share/embed screenshot and what logic you have written down?
  • Suggested answer
    Haque Profile Picture
    3,653 on at
    Hi @BG-15041758-0, 

    For your multi-select dropdown scenario where you want two hidden fields to show if "Other" or "Electricity" is selected—and to remain visible if either is selected regardless of other selections—you need a formula that checks if either "Other" or "Electricity" is currently selected anywhere in the multi-select choices.

    Using in alone might not work as expected because the multi-select dropdown returns a table of selected records, not a single value.

     

     

    Correct approach:

    Use the Filter or LookUp function to check if "Other" or "Electricity" exists in the selected items collection.

    For example, set the Visible property of the hidden fields to this formula:

    Or(
        CountRows(Filter(MultiSelectDropdown.SelectedItems, Value = "Other")) > 0,
        CountRows(Filter(MultiSelectDropdown.SelectedItems, Value = "Electricity")) > 0
    )
    

     

    Note: If your dropdown uses a different field name instead of Value (e.g., Title or Name), replace Value accordingly.

     

     

    I am sure some clues I tried to give. If these clues help to resolve the issue brought you by here, please don't forget to check the box Does this answer your question? At the same time, I am pretty sure you have liked the response!
  • Verified answer
    Kalathiya Profile Picture
    2,456 Super User 2026 Season 1 on at
     
    Since this is a multi-select combobox, the issue is usually caused by checking only the latest selected value instead of checking all selected values if you use Selected.
     
    Please try below code:
    "Other" in ComboBox.SelectedItems.Value || "Electricity" in ComboBox.SelectedItems.Value
    
    //Replace with your control name

    if users select additional values more values afterwards, the fields will remain visible as long as either "Other" or "Electricity" still exists in the selected items.

    If this response resolves your issue, please mark it as the Verified Answer so it can help other community members as well.
    ---------------------------------------------------------------------------------

    📩 Need more help? Just mention @Kalathiya and I’ll be happy to assist.

    ✔️ If this answer helped you, please tick “Does this answer your question?” so it can be marked as the Verified Answer.

    💛 A Like always motivates me to keep contributing!

  • Kalathiya Profile Picture
    2,456 Super User 2026 Season 1 on at

    Hope this solves your issue! If it does, please mark the answer as verified to help others in the community. Otherwise, I’m happy to assist further.

  • BG-15041758-0 Profile Picture
    50 on at
    Hi Kalathiva,
     
    I tried it this morning after trying the other approach and this one worked.  I didn't always want both showing unless they clicked it.  I had already marked it as the verified answer
     
    Beth
     
  • Kalathiya Profile Picture
    2,456 Super User 2026 Season 1 on at
     
    Glad to hear it worked.
     
    Yes exactly, that condition ensures the hidden fields only appear when either "Other" or "Electricity" is selected in the multi select combobox, even after selecting any other options.
     
    Thank you.
  • BG-15041758-0 Profile Picture
    50 on at
    @Kalathiya  For some reason this stopped working today....any ideas?
  • Kalathiya Profile Picture
    2,456 Super User 2026 Season 1 on at
    Hello @BG-15041758-0
     
    Could you please share some details? If the conditional logic is correct, it should work. Since it’s not working, there may be another issue.
  • BG-15041758-0 Profile Picture
    50 on at
    @Kalathiya  I was able to get it working again, I had to restore the version that was working, cut and paste the code and put it back in.  I must have missed something because it worked after that.  

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard