Scenario: I’m setting up a feedback system. Customers will submit feedback on the performance of any one of half a dozen companies; in each case the company will have been providing one of 3 or 4 specific and pre-determined services. In addition to being able to write their own notes on the company’s performance, the customer will specify the feedback as being Positive, Neutral or Negative. So, an example might be: Feedback for Company A performing Service X: Positive.
I am currently expecting to use Playa to handle the relationships between company, service, quality of feedback etc. This is not yet implemented (I’m still in the planning stages).
Now: I would like to be able to perform some in-template maths calculations on the feedback results. Eg.:
“What percentage of Company A’s total feedback for providing Service X is Positive?”
To do this I would need my EE template to be able to add together the total number of feedbacks submitted for Company A performing Service X, obtain the number of positive feedback for Company A performing Service X, divide the latter by the former, and multiply by 100. This should give me the correct percentage which I could use to, for example, represent that data as a graph (with a bit of css that I haven’t quite worked out yet).
My question: does EE (or EE + Playa) give me in-template access to the values that I need?
Is this a really confusing post? I can’t tell any more.