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 / 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

Forum hierarchy changes are complete!

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

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard