Hi,
Here is my sharepoint list.
I want to produce a pie chart that shows the total count of ACTIVE and INACTIVE in the status column of a sharepoint list.
I am unsure of the formula in the items property. I see some that use an ADD COLUMN and then a GROUPBY. Others do it the other way around.
Here is a screenshot of my sharepoint list and powerapp page.


Thank you in advance.