Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have these two tables - with no natural connection:
And I want to create this table for all the dates with DAX, please help!
Solved! Go to Solution.
Hi @Anonymous!
Try the following:
New Table =
VAR _Table1 =
VALUES( 'Table 1'[DateShort] )
VAR _Table2 =
SUMMARIZE(
'Table 2',
'Table 2'[Category],
'Table 2'[Category 2]
)
RETURN
CROSSJOIN( _Table1, _Table2 )
Let me know if that helps!
Hi @Anonymous!
Try the following:
New Table =
VAR _Table1 =
VALUES( 'Table 1'[DateShort] )
VAR _Table2 =
SUMMARIZE(
'Table 2',
'Table 2'[Category],
'Table 2'[Category 2]
)
RETURN
CROSSJOIN( _Table1, _Table2 )
Let me know if that helps!
Thank you so much! That was exactly what i needed 😊
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 8 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 29 | |
| 19 | |
| 18 | |
| 11 | |
| 10 |