Lee Baldock
Active Member
Members
Power Pivot
Power Pivot
Forum Posts: 5
Member Since:
August 11, 2018
August 11, 2018
Offline
Hi,
I have two lists in PQ (both formatted as tables), one of dates and one of our production plant codes.
Is there a way of combining these to create a table with a row for each combination of date and plant code.
i.e. My dates are for a year (thus there are 365 of them), we have approx 150 plant codes, thus the end resulting table should have 54,750 rows
Thanks, Lee
Catalin Bombea
Iasi, Romania
Member
Dashboards
Power Query
Power Pivot
Xtreme Pivot Tables
Excel for Decision Making
Excel for Finance
Excel Analysis Toolpak
Power BI
Excel
Word
Outlook
Excel Expert
Excel Customer Service
Power Query
Power Pivot
Xtreme Pivot Tables
Excel for Decision Making
Excel for Finance
Excel Analysis Toolpak
Power BI
Excel
Word
Outlook
Excel Expert
Excel Customer Service
Forum Posts: 1917
Member Since:
November 8, 2013
November 8, 2013
Offline
Hi Lee,
In one of the tables, simply add a new column with this formula that refers to the other table:
=Table2QueryName
The new column will contain the same table in all rows. All you have to do now is to expand this new column into rows. (you should see this option in advanced options)
Answers Post
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Yenyen, Stephanie Phillips
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Catalin Bombea: 1917
SunnyKow: 1432
Anders Sehlstedt: 900
Purfleet: 414
Frans Visser: 346
David_Ng: 306
Hans Hallebeek: 289
lea cohen: 246
Jessica Stewart: 219
A.Maurizio: 216
Newest Members:
Jan Elenbaas
Ranjeet Wankhade
Sugata Maity
Karen McCarron
Amanda Zibell
Kevin Sanderson
wer klaus
Richard Gower
Sanket Rathod
Tung Vo
Forum Stats:
Groups: 3
Forums: 24
Topics: 6879
Posts: 30150
Member Stats:
Guest Posters: 49
Members: 33697
Moderators: 2
Admins: 3
Administrators: Mynda Treacy, Philip Treacy, Jessica
Moderators: Velouria, Riny van Eekelen
© Simple:Press —