Get the number of cases according to the property value
Hi,
I have a requirement to get the number of cases according to the value of a property and display in a graph. As an example I have a text input called 'drug' and there are several drugs like Amoxicillin, AtorvastatinCalcium, fluticasone etc. I need to get the count of cases for each drugs and display in a graph. How can I do that? Any solutions are appreciated.
Thank you!