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 / Using dropdown to show...
Power Apps
Answered

Using dropdown to show different columns in gallery

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a page with a browse gallery and I want to show one column all the time and switch between other columns in a list.  My list name is 'Isles' and my column names are "Row", "Zone 1","Zone 2","Zone 3","Zone 4","Zone 5"

I want to display Row all the time and use a dropdown to select the different zones.  I linked my list and chose "Row" as the first title and put this in the subtitle label:

 

If(Dropdown1.Selected.Value = "Zone 1" || Dropdown1.Selected.Value = ShowColumns('Isles',"Zone 1"))

 

I have tried a few other things but nothing worked.  Do I need to make a collection to accomplish this?  My dropdown is just me defining the choices like ["Zone 1", etc].

 

Any help would be appreciated.

Categories:
I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I found a way to accomplish what I need.

     

    I tried to do something like this on the label text:

     

    If(Dropdown1.Selected.Value="Zone 1",ThisItem.Zone 1)

     

    I ended up making 4 overlapping labels and setting the visible property to:

     

    If(Dropdown1.Selected.Value = "Zone 1",true,false)

     

    Seems kind of dirty but it work well.

  • v-yujincui-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Glad to see you solved the problem.
    You could mark your answer as a 'solution' to close the case.

     

    Best Regards,
    Charlie Choi

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard