I have an SP list called hazards and a choice column called Cause. Inside the choice column I have examples called Slips, Trips, Falls etc. I'd like to create a PieChart in my PowerApp to count how many of each cause I have in my SP list.
I have now idea where to start but during my search I came accross the GroupBy and AddColumns formula.
This is what I have so far
GroupBy(AddColumns(Hazards,"Causes",Cause.Value),"Cause","GroupData"),"CountByCause",CountRows(GroupData))
Can someone point me in the right direction please
Thanks 🙂