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

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

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

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (2,668)