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 / Two-level drop-down me...
Power Apps
Answered

Two-level drop-down menu for app navigation.

(0) ShareShare
ReportReport
Posted on by 29

Hello!

 

Please, help me with the writing correct formulas for my case.

 

I create a new component to make a drop-down menu for site navigation.

The buttons are collected into two vertical containers: the first container is the main menu and the second container is the child menu.

Yuras2022_0-1659291632581.png

 

Requirements:

1. Child menu of the "Fact" button should appear when I click on the "Fact" button.

2. Child menu of the "Fact" button should hide when I click on the "Plan" button.

3. Child menu of the "Plan" button should appear when I click on the "Plan" button.

 

These formulas are incorrect:

 

Variant 1.

Yuras2022_1-1659292494602.png

Here, nothing happens when I click on the "Fact" button.

 

Variant 2.

Yuras2022_2-1659292866098.png

Here, the child menu is appear when I click on the "Fact" button, but it dissapear when I stop holding the button.

 

What are the correct formulas for my case?

 

Thank you in advance.

 

 

Categories:
I have the same question (0)
  • Verified answer
    SBax Profile Picture
    1,348 on at

    You could do this with two vertical galleries, passing in tables as the data sources.

     

    Table 1 would hold your items, table 2 would hold the child items and the item(s) they belong to.

     

    You could then use the OnSelect from the first gallery to filter the second gallery.

     

    Kristine Kolodziejski wrote a great blog about building menus using galleries with tables as a datasource. I recommend checking it out.

     

  • Yuras2022 Profile Picture
    29 on at

    Hello!

    Thank you so much.

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 519 Most Valuable Professional

#2
11manish Profile Picture

11manish 489

#3
Haque Profile Picture

Haque 327

Last 30 days Overall leaderboard