
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: Terry Hedditch, Jack Aston, Shoua Lee, Hilary Burchfield
Guest(s) 11
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 880
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 237
Jessica Stewart: 219
A.Maurizio: 213
Aye Mu: 201
Hans Hallebeek: 185
Newest Members:
Kwaje Alfred Mogga
thong nguyen
Appiagyei Kofi Frimpong
Hilary Burchfield
Richie Wright
Adel Kock
Barbara Murray
Doug Milne
Siobhan Stringer
Rob Rooth
Forum Stats:
Groups: 3
Forums: 24
Topics: 6545
Posts: 28653
Member Stats:
Guest Posters: 49
Members: 32831
Moderators: 2
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: Velouria, Riny van Eekelen
© Simple:Press —
