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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.