I recently ran in to a challenge where I needed to pull the previous month's data from a large list of data with various create dates spanning multiple years. My solution was: Create a "Begin of Month" calculated field (I used datepart since I was pulling from a timestamp e.g., INTNX('month',DATEPART( t1.source_actv_create_ts),0) Then I applied the following filter: t1.BEGIN_OF_MONTH is equal to intnx('month',(intnx('month',today(),0)),-1) I don't know if there is a better/easier way to do this, but it works regardless if you are within the same year or are spanning years such as wanting December data and today is January. I anyone has a better method, I would be interested in learning.
... View more