Skip to main content
Solved

First day of a month - thee month ago

  • Jun 10, 2021 7:04 AM UTC
  • 1 reply
  • 84 views

In my analysis filter I need a range over three month exactly.

With this formular I get the last day of the preceding month:

ADD_DAYS(ROUND_MONTH(TODAY()), -1)

Today: 07.06.2021

Result: 31.05.2021

This is the secound part of the BETWEEN order.

Now I'm searching for the first formular in the BETWEEN order

sImilar to VBA: DateSerial(YEAR(Date()),MONTH(Date())-3,1)

Is there a chance?

 

Best answer by georg.sonde

I was searching and playing around and finally found the solution:

 

ROUND_MONTH(ADD_DAYS(TODAY(), -90))

Today: 14.06.2021

Result: 01.03.2021

 

maybe this helps somone else . . .

View original

1 reply

  • Author
  • Level 1
  • Answer
  • Jun 14, 2021 1:51 PM UTC

I was searching and playing around and finally found the solution:

 

ROUND_MONTH(ADD_DAYS(TODAY(), -90))

Today: 14.06.2021

Result: 01.03.2021

 

maybe this helps somone else . . .