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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!