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!View all the Fabric Data Days sessions on demand. View schedule
Is there a way to calculate the difference (variance) instead of total between two rows?
Thanks!
Solved! Go to Solution.
No, the grand total row is the aggregation for all rows, it's not possible to make the grand total row to calcualte the variance between two specific rows in table/matrix.
In this scenario, I suggest you create a previous year measure with PREVIOUSYEAR() like:
= CALCULATE ( SUM ( Table[Sales] ), PREVIOUSYEAR ( Calendar[Date] ) )
And this measure can only appear like "column" in your visual for comparison.
Regards,
No, the grand total row is the aggregation for all rows, it's not possible to make the grand total row to calcualte the variance between two specific rows in table/matrix.
In this scenario, I suggest you create a previous year measure with PREVIOUSYEAR() like:
= CALCULATE ( SUM ( Table[Sales] ), PREVIOUSYEAR ( Calendar[Date] ) )
And this measure can only appear like "column" in your visual for comparison.
Regards,
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!