Hello hello,
I need help. I'm attempting to make a custom column that compares both todays date, and a date in a specific column, to date ranges and returns either true or false depending. Below, you'll see an example of what it would look like not in Power Query. Both Today and NADALastUpdatedDate are the names of columns:
It's important that the year is neglected in this formula, because I'm trying to do this in a way where I won't need to update it every year. Does anyone have any ideas?
I need help. I'm attempting to make a custom column that compares both todays date, and a date in a specific column, to date ranges and returns either true or false depending. Below, you'll see an example of what it would look like not in Power Query. Both Today and NADALastUpdatedDate are the names of columns:
Code:
if Today >= 1/1 and <= 4/30 then
{
if NADALastUpdatedDate <= 1/1 and >= 4/30 then
{
return True
}
}
else if Today >= 5/1 and <= 8/31 then
{
if NADALastUpdatedDate <= 5/1 and >= 8/31 then
{
return True
}
}
else if Today >= 9/1 and <= 12/31 then
{
if NADALastUpdatedDate <= 9/1 and >= 12/31 then
{
return True
}
}
else
{
return False
}
It's important that the year is neglected in this formula, because I'm trying to do this in a way where I won't need to update it every year. Does anyone have any ideas?