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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
assuming my data is summed in a matrix as follows:
columnA
1
2
3
4
-----
10
Question:
how do I subtract the values from the total to determine variance of column A's total into a new columnB
ie:
ColumnA. | columnB
1. 9
2. 8
3. 7
4. 6
----------------------
10. 30
I created the table "testTable" with a single column, "A".
Plotted this column in the matrix visual.
Plotted this measure in the matrix table.
I hope this solution helps.
Thank you.
Hi, thanks for the help! I'm still having some issues and want to clarify it a little more. ColumnA is a measure which is:
Avg = calculate(sum('dw factsalesorders'[Sales])/calculate(sum('dw factsalesorders'[qty])))
when I try to do this it's not working correctly:
vari=calculate(sum('dw. Factsalesorders'[sales])/calculate(sum('dw factsalesorders'[qty])),all('dw factsalesorders'))-calculate(sum('dw factsalesorders'[sales])/calculate(sum('dw factsalesorders'[qty])))
it changes all values in the matrix and isn't correct...what am I doing wrong :)?
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!