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 / Showing and hiding com...
Power Apps
Answered

Showing and hiding components based on combobox selection

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello community,

I am want to kindly ask you if you have any idea how to hide and show rows based on the selection in combobox.

MartinN1_0-1638970941066.png

The values in combobox means the number of lines displayed. I was thinking about the idea to assign each value a variable and do lot of IFs that if one of the condition is selected and you have it in the list, be visible and otherwise. Is there any better way how to achieve same thing?

 

Thank you

Martin

Categories:
  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    Which combobox and are the rows in a gallery or table?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi, it's not in gallery or table, it's the individual rows. So it's better to create this in gallery? Is it then possible to post this gallery as one item (e.g. 1 customer with 10 different invoices) as one request to database?

  • Verified answer
    JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    Your gallery would use a collection and you patch the items in the collection to your data source however you need to do it.

     

    I would think a gallery would be the easiest way to handle this.

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 330

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard