Using CASE in EQL to pivot a result

Hi,

We can't make a search and display different related objects in a single line.  

I mean, when you search for documents and you want to display a relationship, let's say Locations for example (It happens with any kind of relationship) and the document is related to 4 locations you will get 4 lines as a result, one for each location.

To avoid this we tried to use CASE syntax but we cannot make It work as expected.  It's working but is not showing 1 line for the document, It's still showing 1 line for each location related to the only one document matching the search criteria.

Please review the image below and advice ASAP, thanks!