I have a Sharepoint list of data, and I want to have a table in my canvas app with the number of each type of row.
So my Sharepoint list would be like
| Suit | Number | Other | Info |
| Hearts | 3 | blah | blah |
| Hearts | 4 | blah | blah |
| Hearts | 5 | blah | blah |
| Spades | 3 | blah | blah |
| Spades | 9 | blah | blah |
| Diamonds | 2 | blah | blah |
And I want my app to show
| Suit | Count |
| Hearts | 3 |
| Spades | 2 |
| Diamonds | 1 |
I have a table with the first column, but I am stuck adding the Count column.
Distinct(Filter(cardDeckSharepointList,Not(IsBlank('Suit'))),'Suit')
I think I should use AddColumns and Countif, but I can't figure out how to work it all together.