cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Super User
Super User

Re: How to show the lable values in pie chart?

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
Highlighted
Super User
Super User

Re: How to show the lable values in pie chart?

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
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (10,606)