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
Can someone please give me a quick explaination on why I can't use my [NextMonth] in the DateAdd funtion.
EVALUATE
ADDCOLUMNS (
SUMMARIZE (
Customers,
Customers[CustomerKey],
Customers[DateFirstPurchase],
"Second Purchase",
CALCULATE (
FIRSTDATE ( Sales[OrderDate] ),
FILTER ( Sales, Sales[OrderDate] > Customers[DateFirstPurchase] )
),
"90 Day Date After First Purchase", Customers[DateFirstPurchase] + 90,
"NextMonth", ENDOFMONTH ( Customers[DateFirstPurchase] ) + 1
),
"Next3Months", DATEADD ( [NextMonth] , 3, MONTH ),
"Within 90 Days",
IF (
[Second Purchase] > [DateFirstPurchase]
&& [Second Purchase] <= [90 Day Date After First Purchase],
"Yes",
"No"
)
Solved! Go to Solution.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 17 | |
| 8 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 27 | |
| 18 | |
| 12 | |
| 11 | |
| 11 |