Drupal Custom View

Use Case: I have two differnent Content Types, A and B, each with a State field.

Content Type A has two nodes, with California and South Dakota selected.

Content Type B has two nodes, with Alabama selected in both nodes.

The requirement is to created a tabular View that would look like this.

So wihin the Views interface, how do I create this?


 Viewview.jpg
sandshakimiAsked:
Who is Participating?
 
oliverpoldenCommented:
This is the closest I've managed to get:
Screen-Shot-2015-04-20-at-15.41.43.png
I used the views_calc module, views_aggregator and views_aggregator_plus (included with views_aggregator).

I set up fields as:
Content: Type
Content: Title (do not link to content)

Filter by content types A and B

Format:
Table with aggregation options
 - Format settings:
  Type: Apply group function - Group and compress
  Title: Apply group function - Tally members *, Parameter: , (comma with a space)

In your case 'Title' would be 'State'
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.