Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. 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,
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 42 | |
| 37 | |
| 34 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 62 | |
| 31 | |
| 26 | |
| 25 |