Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I have two tables: one containing dates and the other one containing product categories:
Table 1:
Table 1:
Date:
01/01/2016
01/02/2016
01/03/2016
etc.
Table 2:
Categories:
A
B
C
etc.
I need to create with power query a third table (2 columns) with: first column date and second categories and for every date it needs to have all the categories:
Table 3:
Date: Categories
01/01/2016 A
01/01/2016 A
01/01/2016 A
01/02/2016 B
01/02/2016 B
01/02/2016 B
01/03/2016 C
01/03/2016 C
01/03/2016 C
Is there a way to achieve this result?
Many thanks
Solved! Go to Solution.
Hi @LucaUSA50
You simply have to go to Modelisation > New table and fill it with this formula :
NewTable = CROSSJOIN(Table1;Table2)
If it worked, don't forget to mark the topic as solved
- Quentin
Hi @LucaUSA50
You simply have to go to Modelisation > New table and fill it with this formula :
NewTable = CROSSJOIN(Table1;Table2)
If it worked, don't forget to mark the topic as solved
- Quentin
It works!!
Thanks
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |