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
Hi guys,
Is there a way to use SELECTCOLUMNS in a CROSSJOIN to rename the StartofMonth column so we can make this CROSSJOIN work? See below my DAX and error message:
Contracted & Uncontracted 2 = CROSSJOIN('Contracted & Uncontracted',SUMMARIZE(FILTER('Dim_Calendar','Dim_Calendar'[Date] > MIN('Contracted & Uncontracted'[END_DATE]) && 'Dim_Calendar'[Date] < MAX('Contracted & Uncontracted'[Today + 3 Years])), Dim_Calendar[StartofMonth]))
Thanks in advance.
S
Solved! Go to Solution.
Hi,
Please try the below if it works.
Contracted & Uncontracted 2 =
CROSSJOIN (
'Contracted & Uncontracted',
SELECTCOLUMNS (
SUMMARIZE (
FILTER (
'Dim_Calendar',
'Dim_Calendar'[Date] > MIN ( 'Contracted & Uncontracted'[END_DATE] )
&& 'Dim_Calendar'[Date] < MAX ( 'Contracted & Uncontracted'[Today + 3 Years] )
),
Dim_Calendar[StartofMonth]
),
"@NewNameStartofMonth", Dim_Calendar[StartofMonth]
)
)
Hi,
Please try the below if it works.
Contracted & Uncontracted 2 =
CROSSJOIN (
'Contracted & Uncontracted',
SELECTCOLUMNS (
SUMMARIZE (
FILTER (
'Dim_Calendar',
'Dim_Calendar'[Date] > MIN ( 'Contracted & Uncontracted'[END_DATE] )
&& 'Dim_Calendar'[Date] < MAX ( 'Contracted & Uncontracted'[Today + 3 Years] )
),
Dim_Calendar[StartofMonth]
),
"@NewNameStartofMonth", Dim_Calendar[StartofMonth]
)
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 31 | |
| 18 | |
| 12 | |
| 11 |