Forum Discussion

ruthgammack's avatar
ruthgammack
Frequent Visitor
4 years ago
Solved

Dynamically group based on Date Periods

Hi, I have a report where i have periods and based on the current date vs the invoiced date end of month i want to set the period. For example if one is invoiced today it would look at the end of mo...
  • amitchandak's avatar
    4 years ago

    ruthgammack , Not very clear

     

    But a new column

    Switch(true() ,

    eomonth([Invoice Date], 0) = eomonth(today(), 0) , "Current" ,

    datediff([Invoice Date], 0) , eomonth(today(), 0), month) & ""

    )