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.
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()) ))