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.
Hi @dwhittaker1
Modify the measure for :
Gross Sales 2022 = CALCULATE(SUM(FactSalesInvoiceLine[InvoiceLineAmount]),ALL(DimDate), 'DimaDate[year]=2022)
it should work.
That is how it looks at my example (with other data) :
pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi,
Does this work?
Gross Sales 2022 = CALCULATE(SUM(FactSalesInvoiceLine[InvoiceLineAmount]),'DimaDate[year]=2022)
Hi @dwhittaker1
Modify the measure for :
Gross Sales 2022 = CALCULATE(SUM(FactSalesInvoiceLine[InvoiceLineAmount]),ALL(DimDate), 'DimaDate[year]=2022)
it should work.
That is how it looks at my example (with other data) :
pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
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!