cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
OsmandFernando
Post Prodigy
Post Prodigy

How to show the lable values in pie chart?

Dear , 

 @PowerAddict @mdevaney  @yashag2255  @iAm_ManCat  and others

 

How can I populate the values in a pie chart, may be is it possible to show the value when I hover over the chart ? 

 

Capture.PNG

 

Data are coming from a collection called SalesSumByLocation

Capture1.PNG

 

This is how chart set up looks like

 

Capture2.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
iAm_ManCat
Super User
Super User

Hi!

 

You could use AddColumns to get this as a custom column to show:

 

If(
   Dropdown2_1.Selected.Value="ALL",
   AddColumns( SalesSumbyLocation, "NewChartColumn", CustomerLocation & " " & TotalSales),
   Filter(AddColumns( SalesSumbyLocation, "NewChartColumn", CustomerLocation & " " & TotalSales),
   Dropdown2_1.Selected.Value in salesYear)
)

 

Then change your Label field (as shown in your picture) to be NewChartColumn

 

Could you try that and let me know how you get on?

 

Cheers,

ManCat

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


View solution in original post

1 REPLY 1
iAm_ManCat
Super User
Super User

Hi!

 

You could use AddColumns to get this as a custom column to show:

 

If(
   Dropdown2_1.Selected.Value="ALL",
   AddColumns( SalesSumbyLocation, "NewChartColumn", CustomerLocation & " " & TotalSales),
   Filter(AddColumns( SalesSumbyLocation, "NewChartColumn", CustomerLocation & " " & TotalSales),
   Dropdown2_1.Selected.Value in salesYear)
)

 

Then change your Label field (as shown in your picture) to be NewChartColumn

 

Could you try that and let me know how you get on?

 

Cheers,

ManCat

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,667)