cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Payam
Level: Powered On

help on creating pie chart

I have a list like this:

Name                    Duration

name1                       01

name2                       03

name1                       00

name3                       02

name1                       10

name3                       05

 

I want to get the total of Duration per Name and show it in a pie chart.

3 REPLIES 3
Community Support Team
Community Support Team

Re: help on creating pie chart

Hi @Payam ,

 

Use below formula to create a new collection C1 and use it as the data source of pie chart:

ClearCollect(C1,{Name:"name1",Duration:Sum(Filter(list,Name="name1"),Duration)},{Name:"name2",Duration:Sum(Filter(list,Name="name2"),Duration)},{Name:"name3",Duration:Sum(Filter(list,Name="name3"),Duration)})

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Payam
Level: Powered On

Re: help on creating pie chart

tnx @v-monli-msft 

but I don't understand this phrase "

DurationSmiley Frustratedum

 

Community Support Team
Community Support Team

Re: help on creating pie chart

Hi @Payam ,

 

I do not see the part you replied in my formula, could you please take a screenshot?

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
thirdimage

Power Automate 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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 207 members 4,391 guests
Please welcome our newest community members: