This discussion is archived
10 Replies Latest reply: Nov 22, 2012 6:14 AM by Avinash_Varma RSS

How to group on a column

user82150 Newbie
Currently Being Moderated
Hi Experts

I have a requirement to display as address labels based on organization I have same address for organization as two or more records. I want to display only one. I am doing like

<?for-each:ssAddress[position() mod 3=1]?>
<?for-each@column:. | following-sibling::ssAddress[position()<3]?>
<?ssOrganization?>
<?ssStreet?>
<?concat(concat(concat(City,', '),State,' '),PostalCode)?>
<?end for-each?>
<?end for?>

How do i group and display only one address

Thanks

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points