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
Solved! Go to Solution.
I can't see your sample data, so maybe my answer is not correct.
You can try below coding to see if you can count last month's amount.
VAR maxdate= max('date')
VAR lastmont=edate(maxdate,-1)
CCOUNTROWS(FILTER('DB Headcount',date=lastmonth && 'DB Headcount'[Payroll Area] <> "Babcock - Weekly"))
Proud to be a Super User!
I can't see your sample data, so maybe my answer is not correct.
You can try below coding to see if you can count last month's amount.
VAR maxdate= max('date')
VAR lastmont=edate(maxdate,-1)
CCOUNTROWS(FILTER('DB Headcount',date=lastmonth && 'DB Headcount'[Payroll Area] <> "Babcock - Weekly"))
Proud to be a Super User!
Hello
I managed to get this to work(sort of)
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!