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 All,
I have a condition for date field to add +6 months to existing field. any suggestion to add it using calcuated column.
Calculated column:
If Code= "Tenure" then Current Date > Created Date + 6 months
Please suggest for 6 months how to add for record created date field.
Regards,
VC
Solved! Go to Solution.
HI @Anonymous,
I think you can use DATE function to calculate the corresponding date values.
Column1 =
VAR cDate =
TODAY ()
RETURN
IF (
Table1[Code] = "Tenure",
IF (
Table1[Created Date]
> DATE ( YEAR ( cDate ), MONTH ( cDate ) + 6, DAY ( cDate ) ),
"Y",
"N"
)
)
Regards,
Xiaoxin Sheng
HI @Anonymous,
I think you can use DATE function to calculate the corresponding date values.
Column1 =
VAR cDate =
TODAY ()
RETURN
IF (
Table1[Code] = "Tenure",
IF (
Table1[Created Date]
> DATE ( YEAR ( cDate ), MONTH ( cDate ) + 6, DAY ( cDate ) ),
"Y",
"N"
)
)
Regards,
Xiaoxin Sheng
@Anonymous
pls try to use EDATE
If (Code= "Tenure" , edate(Created Date ,6))
EDATE function (DAX) - DAX | Microsoft Learn
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |