Typically the best thing to do on pie charts is to put into a collection to get the information grouped where the data shows as you need it to.
An example would be if I have a sharepoint list with a column called "Status" and I want to the pie chart to show based on the Count of each Status I would have:
Screens - OnVisible:
ClearCollect(CollStatusCount, AddColumns(GroupBy(SPListName, "Status","GrpByStaus"),"CountStatus",CountRows(GrpByStatus)))
Then for my Pie Chart the Items is CollStatusCount
You can do by Sum, Count and several other things but you have to get the data formatted correctly for the Charts to work. Basically you are grouping by whatever field you want to show in the chart and then adding a column to show the value for that group and that is what you are looking to.