I want to obtain a bar chart whose first bar counts the number of C's in the first newsletter of each contact, the second bar counts the number of C's in the second newsletter of each contact ecc. (but the first/second.. newsletter is different for each contact...)
My chart should count in the first coulumn the clicks on the fisrt newsletter a contact has received. In the second, the second and so forth.
So in the example the first coulumn will count the clicks, if any, at idContact=1 and idNewsletter=1, idContact=2 and idNewsletter=2 (because the newsletter 2 is the first for contact 2), idContact=3 and idNewsletter=3 ... Then in the second column it count the clicks, if any, at idContact=1 and idNewsletter=2, idContact=2 and idNewsletter=3, idContact=3 and idNewsletter=4... The second newsletter received by each contact. And so forth .
Not really. I think I should make use only of a calculated dimension which has the first newsletter of each contact, then the second newsletter of each contact and so forth. Then I hall calculate the number of C's.