I am creating a report. I want to count the nodes of a content type saved for particular entity reference field.
So far I have worked with Views Aggregator and Forena Reports.
But I am not able find it. Can anyone help me on this please?
I am creating a report. I want to count the nodes of a content type saved for particular entity reference field.
So far I have worked with Views Aggregator and Forena Reports.
But I am not able find it. Can anyone help me on this please?
In Views, under Advanced, Use Aggregation - Yes.
Suppose you have content type A and B. B has entity reference field which refers A. Now you have already created a view for content type A and added its relationship to B.
Now under Fields, Add a new field of the content type B(suppose body), change the label to Count set its aggregation settings to count.