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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello,
I had found a measure that worked fine until 2023 came and now my following formulas dont work as the last month and 2 months ago fall in 2022. I want to count the number of rows from my tables that have a date in the current month, last month and two months ago.
Here is my current month:
Instead of using FILTER(Table), you should use the DATESINPERIOD or PARALLELPERIOD function, which can handle the year roll-overs.