# How to Convert a multiple rows into single row with comma separated values

**URL:** <https://community.amazonquick.com/t/how-to-convert-a-multiple-rows-into-single-row-with-comma-separated-values/13596>\
**Category:** Q&A\
**Tags:** analysis, calculations, quick-sight\
**Created:** [May 18, 2023, 6:09am UTC](https://community.amazonquick.com/t/how-to-convert-a-multiple-rows-into-single-row-with-comma-separated-values/13596 "2023-05-18T06:09:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gururajgiri](https://avatars.discourse-cdn.com/v4/letter/g/43a26b/32.png) [@gururajgiri](https://community.amazonquick.com/u/gururajgiri)\
**Post date:** [May 18, 2023, 6:09am UTC](https://community.amazonquick.com/t/how-to-convert-a-multiple-rows-into-single-row-with-comma-separated-values/13596/1 "2023-05-18T06:09:09Z")

</div>

Hi Experts,

I need to get one single row from a multiple rows, those other rows should be documented with comma separated values in that converted single row

Kindly suggest me, how to achieve this  
TIA

---

<div class="post-metadata">

**Author:** ![Biswajit\_1993](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/biswajit_1993/32/20472_2.png) [@Biswajit\_1993](https://community.amazonquick.com/u/Biswajit_1993)\
**Post date:** [May 18, 2023, 6:48am UTC](https://community.amazonquick.com/t/how-to-convert-a-multiple-rows-into-single-row-with-comma-separated-values/13596/2 "2023-05-18T06:48:02Z")

</div>

HI @gururajgiri ,  
Can you go through this link and check the solutions.

> [@How to use values from a list aggregated field in a table to a filter in Quicksight?](https://community.amazonquick.com/t/how-to-use-values-from-a-list-aggregated-field-in-a-table-to-a-filter-in-quicksight/4717):
>
> I have a dashboard in Quick-sight where a table is being used which contains a field that has values list aggregated.(Please refer the attached image). I need to create a filter in a dashboard that will have a dropdown with distinct values from the list aggregated values so that if i select/check a particular value from a dropdown then it should filter out the list aggregated record by matching the string i selected in a drop down. I tried to use the split function to get the distinct values f…

Or you can use custom SQL to extract multiple rows into single row with comma separated values.

Thanks & Regards  
Biswajit Dash
