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 / Dropdown to Show/hide ...
Power Apps
Answered

Dropdown to Show/hide columns in Gallery

(0) ShareShare
ReportReport
Posted on by 920 Super User 2024 Season 1

Hi,

 

I have an issue, I need many columns in my gallery and Im not liking working with the container, it is very annoying.

 

Does anyone know if I can dropdown filter something like this

 

DropdownCanvas1  Items property = ["January","February"].

 

And if January is selected show fields  "field_1", "field_2", "field_3", "field_4", and hide the rest.

If Feb is selected Show fields "field_5", "field_6"...etc for all the months.

 

Can this be done? is there a better way?

 

Categories:
I have the same question (0)
  • Verified answer
    ANB Profile Picture
    7,250 Super User 2026 Season 1 on at

    HI @wonka1234 , You need to write the code on the Visible property of the fields, example:

     If you want to show "field_1", "field_2", "field_3", "field_4", then below code should be written on  Visible property of these fields. 

    If(DropdownCanvas1.Selected.Value = "January", true, false)

     If you want to show "field_5", "field_6", then below code should be written on  Visible property of these fields. 

    If(DropdownCanvas1.Selected.Value = "February", 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

Forum hierarchy changes are complete!

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

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 372 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 303 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 238 Super User 2026 Season 1

Last 30 days Overall leaderboard