Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Bokbob
Helper I
Helper I

Splitting the column values with comma and storing them as rows

Hi, I have some data where it comes up as below. I need to split them by comma and transpose them to row data with Client ID column getting duplicated for those multiple hardship values we have.

 

EX: i need it like Client ID     Hardship

                             5               Struggling with financial...

                             5               unsuitable for public....

                             5               limited family supp....

 

my values are dynamic and i can just do it once off. Please help.

 

 

hardship.PNG

2 ACCEPTED SOLUTIONS
Phil_Seamark
Microsoft Employee
Microsoft Employee

 Hi @Bokbob

 

In the Query Editor, highlight your column and then select "Split Column".  This will bring up a dialog box where you can specify that you'd like to split to rows.

 

 

split to rows2.png


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

View solution in original post

Bokbob
Helper I
Helper I

Hi All,, sorry i got the answer..

 

i had to do 

 

split column values with comma values

and then unpivoted other columns

and it worked 🙂

 

View solution in original post

3 REPLIES 3
Bokbob
Helper I
Helper I

Hi All,, sorry i got the answer..

 

i had to do 

 

split column values with comma values

and then unpivoted other columns

and it worked 🙂

 

Phil_Seamark
Microsoft Employee
Microsoft Employee

 Hi @Bokbob

 

In the Query Editor, highlight your column and then select "Split Column".  This will bring up a dialog box where you can specify that you'd like to split to rows.

 

 

split to rows2.png


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Hi Phil, Thanks so much for you help 🙂

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.