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, i have a column that calculates the margin as a percentage, between some columns. In the total I would like you to average the margin between all the rows, instead also in the total row, it calculates the percentage between the columns. How could I do? Thanks in advance
Solved! Go to Solution.
Hi @Cervo114 ,
Do you mean that you want to calculate average based on above each row percentages instead of total percentage in subtotal field?
I think you can calculate the average based on percentage measure above.
My Sample:
Measure = DIVIDE(SUM('Table'[Value1]),SUM('Table'[Value2]))
Create a new measure to calculate average based on percentage above.
Measure 2 = AVERAGEX(VALUES('Table'[Category]),[Measure])
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Cervo114 ,
Do you mean that you want to calculate average based on above each row percentages instead of total percentage in subtotal field?
I think you can calculate the average based on percentage measure above.
My Sample:
Measure = DIVIDE(SUM('Table'[Value1]),SUM('Table'[Value2]))
Create a new measure to calculate average based on percentage above.
Measure 2 = AVERAGEX(VALUES('Table'[Category]),[Measure])
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept 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!