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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
619SK
Helper II
Helper II

Expand Multiple Values in list as One Row

I am sourcing data from Sharepoint list where  column as below. In power query where i expand data it trnasform into two rows with Owner as A & another row with Owner as B.

I want to expand list where owner show as A,B.

CompanyIdLocationOwner
XYZ12IndiaA,B
1 ACCEPTED SOLUTION

Hi,

In The Query Editor, you will have to use the Text.Combine function within the Table.Group function.  To receive further help, share some data to work with and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi,@619SK. Hello,@danextian ,thanks for your concern about this issue.
I would like to share some additional solutions below.

I am glad to help you.

According to your description, your original data looks like this.

vjtianmsft_0-1715764145151.png

Do you want to display the data separately based on the values in the Owner column, like this?

vjtianmsft_1-1715764165113.png

If my understanding is correct, then you can refer to my test below. (Using "Unpivot Columns")
1. Select the "Owner" column, in the Transform window > Split Column > By Delimiter
Split Owner into two columns by comma.

vjtianmsft_2-1715764197482.png

like this:

vjtianmsft_3-1715764241476.png

2. Select both A and B two owner columns, select "Unpivot Column"

vjtianmsft_4-1715764263207.png

like this

vjtianmsft_5-1715764291502.png

Finally, delete the Attribute column.

The final result:

vjtianmsft_6-1715764321003.png

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

No Its other way,

 

End result should contain A,B in single row only.
But when i expand it create two rows with A & B

Hi,

In The Query Editor, you will have to use the Text.Combine function within the Table.Group function.  To receive further help, share some data to work with and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
619SK
Helper II
Helper II

Not having extract  option, getting option as Expand & Aggregate.

danextian
Super User
Super User

Hi @619SK ,

 

Apply "Extract values from list" to the column.

danextian_0-1715057195581.png

 

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.