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

Pie chart from excel table

Hi everyone, i have searched to the best of my knowledge, but i can't seem to find the right method.

 

I have an excel sheet to monitor log ins.  More importantly, if it was an incorrect password.

 

My table called "AuditLog" has

3 columns:

  • Name
  • successful
  • failed

 

I would like a pie chart to pull the data from an excel sheet (thats already a connection) and just give me a visual representation of how many successful vs failed log in attempts.

 

Any help, would be super.


Thanks,

Joe.

2 REPLIES 2
Highlighted
mitchellk
Level: Powered On

Re: Pie chart from excel table

I learned how to use pie charts from this video:

https://youtu.be/22HqqVp-I80

 

You would want to group by Name, Successful, and Failed and then sum those groups.
Below is the code that i used and worked well for me. 

AddColumns(GroupBy(DataSource, "ColumnName", "group"),"SumOfCategory", Coalesce(Sum(group,cost)))
Super User
Super User

Re: Pie chart from excel table

Take a look at the following articles:  

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/use-line-pie-bar-chart

and 

https://powerusers.microsoft.com/t5/General-Discussion/Help-showing-percentage-pie-chart-from-yes-no...  

 

The second article is based on a Sharepoint list, but the concept is the same - your data source will just be different.

 

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (4,984)