Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have a DAX formula that I have currently been using and up until recently it had been working like a dream. We have now entered a new year and it seems to have broken.
I am creating a report that shows whether a sum of money is current, one month overdue or two months +. My problem is that I cant seem to write the correct formula to have
January 2019 as the current month
December 2018 as overdue by 1 month
November 2018 as overdue by two months.
My thought process was that I could use YEAR(TODAY()) -1 to return last year but that doesnt seem to work and I have done research and cant find the correct answer.
The formula I am currently using that worked is pasted below but again does not work in January
Hi @Reggie,
Could you please share some sample data to have a test if possible?
Regards,
Daniel He
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |