Hi Astounding; I used your code in my program and it worked (i.e. when I run my data for this year, I get January and February YTD Data. When I use your code, I get just January data). So, it works great! As I`m learning, I would like to understand the last part of the code. I guess as I read it the (intnx("month", today(),-1)<=calendar_dt) makes sense to me (but doesn`t work on it`s own). I`d like to better understand why it works when the last part (<intnx("month",today(),0)) is added to the code. Thank you (intnx("month", today(),-1)<=calendar_dt<intnx("month",today(),0))
... View more