Forum Discussion
Anonymous
2 years agoNot applicable
Dates between giving unexpected response
Good morning, I have a table with a column with continuous dates between today and 2 years ago. I am trying to use the code below to create a table with time periods. My intent is to create a co...
- 2 years ago
Hi Anonymous
Please tryDate Periods = ADDCOLUMNS ( CALENDAR ( TODAY () - 730, TODAY () ), "Type", IF ( [Date] < TODAY () - 365, "Vendor 2 Year", "Asset 1 Year" ) )
tamerj1
Community Champion
2 years agoHi Anonymous
Please try
Date Periods =
ADDCOLUMNS (
CALENDAR ( TODAY () - 730, TODAY () ),
"Type",
IF ( [Date] < TODAY () - 365, "Vendor 2 Year", "Asset 1 Year" )
)