So I have a table with many entries. The data has many records with the same names. So for example, I have 7 different entries that have "Fire" under name, 6 entries with "Water" under name, and 3 entries with "Grass". This would be in Table1. The data is taken from Sharepoint. The data would look something like this (with other columns)
Fire
Fire
Fire
Fire
Fire
Fire
Fire
Water
Water
Water
Water
Water
Water
Grass
Grass
Grass
How can I create a new Table2 with a new column that just takes all of the unique values in the name column (in this case, Fire, Water, and Grass) and then count how many entries of each unique record exist? So in this example, the final table would look like this
Fire 7
Water 6
Grass 3
Ideally, I'd want to avoid hard-coding, so that if someone adds 2 "Earth" entries for example, the app can add a new entry in the final table.
I'm thinking of using Filter and CountRows, but I'm just not sure how to go about counting different names in a single command on a table.
Or would this be easier on a gallery?