I've a group type vendor with following groups:

  • V1
  • V2
  • V3

Each group is associated with content type notes as shown below:

Notes (Content Type) with nodes associated with groups:

N1 (Group: V1)
N2 (Group: V1)
N3 (Group: V2)
N4 (Group: V2)
N5 (Group: V3)

So the relationship between them goes like this.

Vendor (Group Type)
Group V1 Group V2 Group V3
N1 N3 N5
N2 N4 None

Where N* are nodes of content type Notes

I want to create a view where following data should be displayed:

    Latest content update date
    Latest content update date

But I do not want all the contents update date listed. When I use grid layout I can group the content as per associated group but the output contains all the last updated date for all contents. I want to limit the output only to last 2-3 contents.


Views -> Grid Layout -> Group by group title -> Number of columns per row -> 2



N1 last update date     N2 last update date


N3 last update date     N4 last update date

Expected output:


N1 last update date


N3 last update date
  • This can't be done through one Views, you have to create as many displays as you have types to be able to show only the latest one in the results, then display them one after the other in your theme region and use CSS to make them look like they are all part of the same block.
    – prkos
    May 5, 2021 at 18:28
  • @prkos But how to relate them with each other. For e.g I've one views with Group title and other with group content last update date and create relationship with them. I've tried it with Views attachment but there is no relationship available for Group Title.
    – saurabh
    May 5, 2021 at 20:09
  • I forgot how Groups track content, is it through an Entity Reference Field? Even if it isn't there is probably a feature in Views that enables showing related info. The Group and its content is shown in the same Views, usually through a Relationship for the ER field. One of your Views can be content Views for N1 and N2, show Group field (through a Relationship if necessary), latest change date field, and in pager limit to show only 1 result. Similarly create another Block for N3 and N4, and the third Block for N5.
    – prkos
    May 5, 2021 at 20:50
  • We have thousands of content and they are created dynamically as per requirements. So creating separate views for each of them is not feasible.
    – saurabh
    May 6, 2021 at 13:26
  • I might have misunderstood, do you have one Notes Content Type? I understood those are different types, not different nodes of the same type.
    – prkos
    May 6, 2021 at 15:46

1 Answer 1


After a some research and hit and trial I'm able to configure views output as per requirements with Views merge row module. Below are the steps I've followed:

  1. Install Views Merge Row module.
  2. Create a Views with group content type.
  3. Select Format -> Card
  4. Add fields:
    • Group Title
    • Content Changed on (relationship content)
  1. In card settings Select "Group Field 1" as a Group Title.
  2. Now under views Advance-settings Select "Merge rows"
  3. Under Merge row settings select following configuration:
Field Merge Option
Group Title Use Values of this field as a filter
Content Changed Use First Value of this Field
  1. Sort -> Ascending

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.