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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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