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 / Navigate for the speci...
Power Apps
Answered

Navigate for the specific Screen based on the selection from Gallery

(0) ShareShare
ReportReport
Posted on by 485

Hi Community,

 

I have the next issue, now, currently we have 5 different screens with specific fields on each one, the user select the item from the Gallery and based on the value of the item it tries to direct for the specific screen, but not works well.

SelectItem.gif

This is the code I used into the Gallery

Set(varRecordProject, ThisItem); 
If(title_cmbStageRequest.Text = "2. Evaluate, Select, & Prioritize", ViewForm('Stage 2'), Navigate('Stage 2. Evaluate, Select, & Prioritize',ScreenTransition.Fade), (title_cmbStageRequest.Text = "3. Balance Portfolio"), ViewForm('Stage 3'), Navigate('Stage 3. Balance Portfolio'))

Then I used the next code for the Next button

Select(Parent);
If(title_cmbStageRequest.Text = "2. Evaluate, Select, & Prioritize", Navigate('Stage 2. Evaluate, Select, & Prioritize',ScreenTransition.Fade), (title_cmbStageRequest.Text = "3. Balance Portfolio"), Navigate('Stage 3. Balance Portfolio',ScreenTransition.Fade))

Any help I really appreciate it, thanks in advance.

 

Kind regards 👋

Categories:
I have the same question (0)
  • Verified answer
    EddieE Profile Picture
    4,641 Moderator on at

    @esjimenezp 

    Try this

    Set(varRecordProject, ThisItem); 
    Switch(
     title_cmbStageRequest.Text,
     "2. Evaluate, Select, & Prioritize",
     ViewForm('Stage 2'); 
     Navigate('Stage 2. Evaluate, Select, & Prioritize',ScreenTransition.Fade), 
     "3. Balance Portfolio", 
     ViewForm('Stage 3');
     Navigate('Stage 3. Balance Portfolio')
    )

     

  • esjimenezp Profile Picture
    485 on at

    it works @EddieE I really appreciate your help, thanks 😎👍

     

    Kind regards 👋

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 352 Most Valuable Professional

#2
11manish Profile Picture

11manish 192

#3
Valantis Profile Picture

Valantis 128

Last 30 days Overall leaderboard