Forum Discussion

alexbalazsalex's avatar
8 years ago
Solved

Month Selection

Hi All could you help me with the below formula?

 

FILTER('Test1','Test1'[Month]=DATE(2018,2,1))

 

I tried the below but it s not working :

 

FILTER('Test1','Test1'[Month]=DATE(2018,month(today()-2),1))  = it s givign me 0.

 

to have an ideea i get the results each month for 2 months ago so it s complicated to manually change the date every month as the formula is long

 

Any Ideas ?

  • alexbalazsalex's avatar
    alexbalazsalex
    8 years ago

    Dear All,

     

    This is how i made it work in case anyone will have the same issue :

     

    =FILTER('Test1','Test1'[Month]=EOMONTH(today(),-3)+1)) 

     

    Regards

2 Replies

    • alexbalazsalex's avatar
      alexbalazsalex
      Helper IV

      Dear All,

       

      This is how i made it work in case anyone will have the same issue :

       

      =FILTER('Test1','Test1'[Month]=EOMONTH(today(),-3)+1)) 

       

      Regards