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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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