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
Hi,
I'm aiming to maintain the Column Subtotal in a Matrix as YTD, while other columns represent individual months. It works perfectly without any month filters applied (the total is sum of all months, which is coincidently YTD values):
But applying a month filter alters the Total column to reflect only the selected month(s).
Can the Total column always reflect the sum of all months, unaffected by month filters?
Solved! Go to Solution.
Hi @Renna ,
Change your YTD Revenue dax as follow.
Hi @Renna ,
Can you share your sample pbix file.
As I think you have added wrong field to ALL function.
Thanks
It works! Thank you so much!
Hi @Renna ,
use INSCOPE function.
Dax query should be like follow.
Change the table and column names as your data model.
Amount = IF(INSCOPE(Calender[Month]) , CALCULATE(SUM('Sales'[SalesAmount])),CALCULATE(SUM('Sales'[SalesAmount]) , ALL(Calender[Month]))
Thanks
DISU.
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!