Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
JonathanK1999
Frequent Visitor

Divide all rows by a single row

Hi! I want to divide all rows by a single calculated row.

 

Ex: I want to divide each single category (cleaning, laundy, supplies, material, soap, salaries, etc.), by the total sales to understand what percentage each row reporesents of total sales. I know how to do it individually by just dividing and filtering by each row, but how can I do it with the total for it to be a calculated column rather than just a calculation?

Sales 
Cleaning $    10,000.00
Laundry $           10.00
Supplies $         100.00
Costs 
Material $           40.00
Soap $         400.00
Salaries $      4,000.00
Machines $           30.00
Other Costos 
Rent $         500.00
3 REPLIES 3
andhiii079845
Solution Sage
Solution Sage

Show your underlaying data. Your desired result in a example (a table). This helps the different user here to help you.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




andhiii079845
Solution Sage
Solution Sage

Same question some hours before. Use please the search 🙂
https://community.powerbi.com/t5/DAX-Commands-and-Tips/Row-divided-by-Total/m-p/3114865#M110255





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Not really, I am looking to divide total sales, not total profit

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.