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 / Navigate to other scre...
Power Apps
Unanswered

Navigate to other screen from pie chart

(0) ShareShare
ReportReport
Posted on by

There is three tabs with the following code implement in the buttons:

 

Set(showPending, true);Set(showApproved, false);Set(showRejected, false);

 


here a pie chart on select property to navigate to the screen..

 

Navigate(SubmitterListing,ScreenTransition.Cover);

 

 
I am trying to add navigation to a pie chart where each slices will navigate to different tabs in the same screen. Would that be possible? Thanks.

Categories:
I have the same question (0)
  • Verified answer
    rsaikrishna Profile Picture
    3,703 on at

    @Anonymous 

     

    For tab control, you may not need 3 different variables. You can use one variable. It helps to manage easily.

     

    When clicking on Pending tab, use Set(varTab,"Pending")

    When clicking on Approved tab, use Set(varTab,"Approved")

    When clicking on Rejected tab, use Set(varTab,"Rejected")

     

    On control's visibility rules, you can mention the following formula:

    varTab = "Pending"  // This formula will show the control only when varTab variable value is set to Pending.

     

    On clicking on the slice in the Pie Chart, you can write the following formuala:

     

    Switch(PieChart1.Selected.Label,
    "Pending",Set(varTab,"Pending"),
    "Approved",Set(varTab,"Approved"),
    "Rejected",Set(varTab,"Rejected"));
    
    Navigate(TabScreen,Fade)

     

    I hope this will be useful.

     

    Please give a try and post here if you have any more questions.

     

    Regards

    Krishna Rachakonda

    If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.
  • Community Power Platform Member Profile Picture
    on at

    thank you so much, Krishna! That really solved my problem.
    But after replacing the variable for the tabs, my refresh screen does not work, in which i want the tabs to be unselected whenever the user navigates away from the screen..

  • rsaikrishna Profile Picture
    3,703 on at

    @Anonymous 

     

    When you are navigating away from the screen or onvisible property of the screen, you can set the variable to Set(varTab,Blank())

     

    Regards

    Krishna Rachakonda

    If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.

     

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard