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
I have close dates for items in a column (see snap below), some of which are in 2022. A separate column has revenues for each item. How do I create a measure that calculates the total revenue for all items that were closed in 2022?:
Solved! Go to Solution.
@james_wood , Measure
calculate(sum(Table[Revenue]), filter(Table, year(Table[Close date]) = 2022))
or
calculate(sum(Table[Revenue]), filter(Table, year(Table[Close date]) =year(Today()) ))
@james_wood , Measure
calculate(sum(Table[Revenue]), filter(Table, year(Table[Close date]) = 2022))
or
calculate(sum(Table[Revenue]), filter(Table, year(Table[Close date]) =year(Today()) ))
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!