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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Expand and extract from List and Table at the same time

Hi, 

I was working with two columns with lists, one that contains dates and the other the Hours assigned by each day that I zipped in a single column to expand them at the same time.

 

Still, I needed to expand the one with dates in order to remove the weekend days and when re-grouping I got a Table, not a list, so the command List.Zip didn't work to unify them and later expand them at the same time.

 

MSA_BB123_0-1654641482431.png     

MSA_BB123_1-1654641533492.png

 

I need, either be able to change the table for a list, where the Column "Between Dates" is extracted as a list or a way in which I can EXPAND and EXTRACT the info for the list and the table at the same time.

I've been trying with different alternatives around the below option, all unsuccessful. 

 

= Table.ExpandTableColumn(#"Added Custom", "BTWN_DATES", {"Resource Name", "Job #", "Task", "Between Dates", "Day Name"}, {"Resource Name.1", "Job #.1", "Task.1", "Between Dates.1", "Day Name"})  &  Table.ExpandListColumn(#"Added Custom ", "Hour Assign Day")

Also with multiple alternatives to merging or concatenating the list and the table, but all give me "error" instead of a list.

 

Any help????

1 REPLY 1
v-yalanwu-msft
Community Support
Community Support

Hi, @Anonymous ;

If you want to change the table for a list, you could try Table.ToList.

https://www.youtube.com/watch?v=LbjhhJQ7bO0

 

or you could share a simple example similar your table. and share the result you what to output.


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors