- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Create more rows in calendar table
Hello,
how can I create new rows in power query. A join and a union is not whats working here, since there is no match on both sides.
I have a calendar:
Date | Month | |
08.11.2022 | 11 | |
09.11.2022 | 11 | |
10.11.2022 | 11 | |
11.11.2022 | 11 | |
12.11.2022 | 11 | |
13.11.2022 | 11 | |
14.11.2022 | 11 | |
15.11.2022 | 11 | |
16.11.2022 | 11 |
And I need the categorie a,b and c for every date:
Date | Month | Category | ||
08.11.2022 | 11 | a | ||
08.11.2022 | 11 | b | ||
08.11.2022 | 11 | c | ||
09.11.2022 | 11 | a | ||
09.11.2022 | 11 | b | ||
09.11.2022 | 11 | c |
and so fourth...
Hope someone know if there is any functionality within Powerquery for it.
Thank you very much in advance.
Best.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Do a full out join between the tables using the Merge Function in Power Query. They will need to be of the same data type, so change the date first to Text then merge then change date back to Date type.
You could create a field in both tables that have the same value and then merge on that field, e.g. TableA[Key] = TableB[Key] where Key is the value "ABC" in both.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Do a full out join between the tables using the Merge Function in Power Query. They will need to be of the same data type, so change the date first to Text then merge then change date back to Date type.
You could create a field in both tables that have the same value and then merge on that field, e.g. TableA[Key] = TableB[Key] where Key is the value "ABC" in both.

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
01-09-2024 03:05 PM | |||
03-25-2024 08:24 PM | |||
06-01-2023 01:14 AM | |||
05-27-2022 05:40 AM | |||
12-08-2023 05:13 AM |