cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

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




Don't forget to 'Mark as Solution' if a post answered your question and always 'Thumbs Up' the posts you like or helped you!

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




Don't forget to 'Mark as Solution' if a post answered your question and always 'Thumbs Up' the posts you like or helped you!

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (6,688)