Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi to all
I need some help, i have a calendar table and for each day i want to combine with a list of names like this one
Calendar table:
01/01/2022
02/01/2022
03/01/2022
Names:
NAME1
NAME2
NAME3
The result i want is:
01/01/2022 NAME1
01/01/2022 NAME2
01/01/2022 NAME3
01/02/2022 NAME1
01/02/2022 NAME2
01/02/2022 NAME3
01/03/2022 NAME1
01/03/2022 NAME2
01/03/2022 NAME3
Is this possible?
Solved! Go to Solution.
You're looking for a cross join or a Cartesian product.
If both tables exist in power query you can use this:
https://docs.microsoft.com/en-us/power-query/cross-join
or if you need to create a calculated table in dax use:
https://docs.microsoft.com/en-us/dax/crossjoin-function-dax
Hi,
Are both tables available in the Query Editor? Do you want a Qury Editor solution?
You're looking for a cross join or a Cartesian product.
If both tables exist in power query you can use this:
https://docs.microsoft.com/en-us/power-query/cross-join
or if you need to create a calculated table in dax use:
https://docs.microsoft.com/en-us/dax/crossjoin-function-dax
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
86 | |
82 | |
70 | |
49 |
User | Count |
---|---|
143 | |
123 | |
107 | |
61 | |
55 |