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
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
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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (8,932)