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 / Make an icon navigate ...
Power Apps
Unanswered

Make an icon navigate to a specific gallery item

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I want to navigate to a specific item in my gallery when an icon is pressed. On the icons onselect I put Navigate(Gallery1.Selected.Title1 = "3.6 Standard and Complex projects", Fade) but it doesnt work. There is a label called title1 that contains where I want to go after selection. I want it to navigate to the gallery item that has that title. The error is that naviagate should go to a control or a screen. I need it to stay on the same screen and move to a specific gallery item. How can I do this?

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,925 on at

    On the OnSelect put:

    Set(SelectedItem,"3.6 Standard and Complex projects")

     

    Then in the Items property of the Gallery:

    Filter(Datasource, ColumnName = SelectedItem)

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • EdViegas Profile Picture
    436 on at

    The function Navigate expects a screen value as first parameter

    Back and Navigate functions in Power Apps - Power Apps | Microsoft Docs

     

    You can use the button to Filter the items Gallery and then use SetFocus function to the desired control

    SetFocus function in Power Apps - Power Apps | Microsoft Docs

     

  • zmorek Profile Picture
    3,272 on at

    Navigate() has to go to a screen; you could consider filtering the gallery with something (perhaps by setting a variable, or referencing the value of another control, etc.), which would result in the gallery having at least one item in it that meets those filter criteria.

     

    Edit: Oops didn't mean to jump on the bandwagon of replies, didn't see others replied while I was typing mine.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I am manually loading the items in the gallery with this Table({Color:"3.1 Delivery Timeline"}, {Color:"3.1 Delivery and Handling Costs"}, {Color:"3.1 Location"}, {Color:"3.1 Liquidated Damages"}, {Color:"3.2 Installation"},{Color:"3.3 Customer Obligation"}, {Color:"3.3 Customer Obligation Cont."},{Color:"3.4 Training Scope"}, {Color:"3.4 Training Schedule"}, {Color:"3.4 Training: Customer Obligation"}, {Color:"3.4 Training Cost"}, {Color:"3.4 Training Certificate"},{Color:"3.5 Commissioning"}, {Color:"3.5 Commissioning and Acceptance"},{Color:"3.5 Acceptance: Sample Language"},{Color:"3.6 Standard and Complex projects"}). Then when the icon is selected I want to navigate to 3.6 Standard and complex @eka24 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I am not sure about how to do this I tried this on the onselect on the button Filter(Gallery1, Title1 = "3.6 Standard and Complex projects")

  • eka24 Profile Picture
    20,925 on at

    Replace Title with the Column Name Color:

    Filter(Gallery1, Color = "3.6 Standard and Complex projects")

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I am getting invalid argument type. Is this because I created the table in the items? @eka24 

  • eka24 Profile Picture
    20,925 on at

    1. Create a Table using OnVisible or Using Onselect of another button:

    Set(MyTable,Table({Color:"3.1 Delivery Timeline"}, {Color:"3.1 Delivery and Handling Costs"}, {Color:"3.1 Location"}, {Color:"3.1 Liquidated Damages"}, {Color:"3.2 Installation"},{Color:"3.3 Customer Obligation"}, {Color:"3.3 Customer Obligation Cont."},{Color:"3.4 Training Scope"}, {Color:"3.4 Training Schedule"}, {Color:"3.4 Training: Customer Obligation"}, {Color:"3.4 Training Cost"}, {Color:"3.4 Training Certificate"},{Color:"3.5 Commissioning"}, {Color:"3.5 Commissioning and Acceptance"},{Color:"3.5 Acceptance: Sample Language"},{Color:"3.6 Standard and Complex projects"}))

     

    2. On the Items property of the Gallery:

      Filter(MyTable, Color= SelectedItem)

     

    3. On the Navigate button:

      Set(SelectedItem,"3.6 Standard and Complex projects")

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

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
Vish WR Profile Picture

Vish WR 914

#2
11manish Profile Picture

11manish 612

#3
Valantis Profile Picture

Valantis 604

Last 30 days Overall leaderboard