I have set up 6 categories and each entry from my ‘contacts’ channel will be in 1 of these categories. I’m trying to display information on the number of entries in each category as a percentage.
e.g. if there are 100 entries in total, my category list would look something like this:
Category 1: 50% ~ 50 of the 100 entries are filed under category 1
Category 2: 40%
Category 3: 0
Category 4: 10%
I’m able to loop through the categories and display all 6 of them, but the calculation has me baffled. Any ideas?
I’m new to EE so I may have searched incorrectly. Sorry if this has already been discussed.