Showing results for 
Search instead for 
Did you mean: 
Level: Power Up

Counting Distinct Values and GroupBy



I´me new to PowerApps and i´m building an App that tracks the state of different Items by area.

Right now i need to summarize each distinct state by Area and put in a chart the items, but i can´t reach any result.

I can countrows for each column indivudually and show the result in a PieChart with a GroupBy function, but can´t reach to the formula for the result for all columns in my table.

My table looks like this:


  What i need is to GroupBy "Local" and Totals for "Bom", "Mau" and "Razoável" and put the Data on a Column Chart, like this:



Please help me with the formula to build my chart and show my data like the chart above.


Thanks in advance.




Helpful resources


Power Automate Community User Group Member Badge

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


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


Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,356)