cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ItIsNotRandom
Level: Power Up

How to drill through a pie chart?

Hello,

 

I created a pie chart for my help desk application that shows the number of tickets assigned to each specialist. I want to drill through when one of the slices is selected. Is there a way to do an "OnSelect" in the slices of the pie chart or a way to know what slice was selected?

 

thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: How to drill through a pie chart?

Hi @ItIsNotRandom 

 

To get the details of piechart selected slice, can you try out the below expression:
 
Filter(PieChartSample,City=PieChart1.Selected.City)
Here, PieChartSample is the name of my Data Source with an attribute City, PieChart1 refers to the displayed piechart. Please modify expression with the actual name of your controls/attributes.
MicrosoftTeams-image (149).png

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 
2 REPLIES 2
Super User
Super User

Re: How to drill through a pie chart?

Hi @ItIsNotRandom 

 

To get the details of piechart selected slice, can you try out the below expression:
 
Filter(PieChartSample,City=PieChart1.Selected.City)
Here, PieChartSample is the name of my Data Source with an attribute City, PieChart1 refers to the displayed piechart. Please modify expression with the actual name of your controls/attributes.
MicrosoftTeams-image (149).png

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 
ItIsNotRandom
Level: Power Up

Re: How to drill through a pie chart?

This is exactly what I was looking for. Thank you so much for sharing this!

 

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 32 members 4,437 guests
Please welcome our newest community members: