
JoergH
Active Member
Members

Forum Posts: 4
Member Since:
May 27, 2020
May 27, 2020

Hello
I have a query with Id numbers and 2 columns with lists.
Example:
Id | List A | List B |
39 | [List] | [List] |
40 | [List] | [List] |
The data behind look like this, List A and List B can also have empty entries.
Id | List A | List B |
39 | a | 1734 |
39 | b | 647 |
39 | c | 1913 |
39 | 1527 | |
40 | a | 1370 |
40 | b | |
40 | c | 1741 |
40 | d | 1386 |
I want to merge both lists by positions, but without expanding them first, the desired result should be
Id | List A | List B | result |
39 | [List] | [List] | [List] |
40 | [List] | [List] | [List] |
I have no idea how to do that.
Thanks for your ideas.
Joerg

JoergH
Active Member
Members

Forum Posts: 4
Member Since:
May 27, 2020
May 27, 2020

Hello Mynda and Catalin
Unfortunately I can't upload a file, since the source is a sharepoint which you can't access.
List.Zip comes with error, because both lists have different nos. of elements.
This did now what I expected:
Table.ToRows(Table.FromColumns({[ListA],[ListB]}))
Thanks for your help.
Joerg
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Richard West, Kathleen Hayter, Brenda Richards, Shawn Barwick, Nada Perovic
Guest(s) 11
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
terimeri dooriyan
Jack Aston
AndyC
Denise Lloyd
michael serna
mashal sana
Tiffany Kang
Leah Gillmore
Sopi Yuniarti
LAFONSO HERNANDEZ
Forum Stats:
Groups: 3
Forums: 24
Topics: 6218
Posts: 27265
Member Stats:
Guest Posters: 49
Members: 31901
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —
