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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi Community..!!
please refer below sample data
Catergory sales
A 6
B 4
C 6
D 4
Total 20
I wanted to create a calculated column which includes logic like
=sale_value1(6) /total(20), sale_value2(4)/total(20), sale_value3(6)/total(20),sale_value4/total(20)
each sales row divide by grand total
Could anyone help me to do this calculation.
Solved! Go to Solution.
Create a Measure to calculate Total Sales:
TotalSales = CALCULATE( SUM( Sales1[Sales] ),
ALL( Sales1 )) // Where "Sales1" is the name of your table
Then create a Calculated Column:
Sales_Percent = DIVIDE( [Sales], [TotalSales], 0 )
Use the column tools menu to format as percent or decimal, whichever your preference.
Trust this is what you are looking for.
Regards,
Create a Measure to calculate Total Sales:
TotalSales = CALCULATE( SUM( Sales1[Sales] ),
ALL( Sales1 )) // Where "Sales1" is the name of your table
Then create a Calculated Column:
Sales_Percent = DIVIDE( [Sales], [TotalSales], 0 )
Use the column tools menu to format as percent or decimal, whichever your preference.
Trust this is what you are looking for.
Regards,
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 59 | |
| 42 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 107 | |
| 100 | |
| 38 | |
| 29 | |
| 29 |