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 a dCalendar table with a single column dCalendar[date] with dates in the format "dd/mm/yy". I need to create a calculated column that will say if the column date is greater or less than 12 months in relation to MAX(dCalendar[date]. Can I do that?
Solved! Go to Solution.
@renatopnovaes Perhaps something like:
Column =
VAR __Max = MAX('dCalendar'[Date])
VAR __12MonthsPrior = EDATE(__Max,-12)
RETURN
IF([Date]<=__12MonthsPrior,"Prior","Current")
Thank You! Jesus loves you
@renatopnovaes Perhaps something like:
Column =
VAR __Max = MAX('dCalendar'[Date])
VAR __12MonthsPrior = EDATE(__Max,-12)
RETURN
IF([Date]<=__12MonthsPrior,"Prior","Current")
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 39 | |
| 37 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 119 | |
| 100 | |
| 72 | |
| 69 | |
| 65 |