Concat(

    GroupBy(

        'CollectionName',

        "IdentityColumn",

        "GroupedData",

        "NameColumn"

    ),

    If(

        CountRows("GroupedData") = 1,

        "GroupedData[@NameColumn]",

        Concatenate(

            "GroupedData[@NameColumn]",

            ", ",

            "GroupedData[@NameColumn]",

            GroupedData,

            ", "

        )

    ),

    " "

)

Comments

Popular posts from this blog

Sharepoint 2013 Script Editor web part CData for custom page layout using visual studio.

List attachment link in SharePoint 2013 search.

Bulk update and delete using SPservice in SharePoint