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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Manigandan
Frequent Visitor

How to Divide byone table column divide by column total and multiply with another table

I am trying to create some measures in power bi, where I want to divide each score by the sum and multiplay with another corrected sum amount  for each group

Table 1                                                                                                          

Manigandan_0-1708861712132.png

Corrected in excel formula is :=ROUND(C86/$C$98*$C$100,0) in B105 column formula in output table

My Output is

Manigandan_1-1708861804686.png

I need the above output Please share me anyone know that

 

2 ACCEPTED SOLUTIONS
govindarajan_d
Super User
Super User

Hi @Manigandan,

 

Can you please try this:

CorrectedSum = 
VAR __AllSumDivide = CALCULATE(SUM(Table[FirstColumn]),ALL(Table))
VAR __AllSumMultiply = CALCULATE(SUM(Table[SecondColumn]),ALL(Table))

RETURN SUMX(Table,DIVIDE(Table[CColumn],__AllSumDivide)*__AllSumMultiply)

 

View solution in original post

v-yanimei-msft
Community Support
Community Support

Hi @Manigandan ,

Please follow these steps:

  1. Right-click Table , select New column  and input them with texts as pictures shown.

vyanimeimsft_0-1708941513508.pngvyanimeimsft_1-1708941526143.pngvyanimeimsft_2-1708941545653.pngvyanimeimsft_3-1708941558780.png

Best Regards

Caroline Mei

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yanimei-msft
Community Support
Community Support

Hi @Manigandan ,

Please follow these steps:

  1. Right-click Table , select New column  and input them with texts as pictures shown.

vyanimeimsft_0-1708941513508.pngvyanimeimsft_1-1708941526143.pngvyanimeimsft_2-1708941545653.pngvyanimeimsft_3-1708941558780.png

Best Regards

Caroline Mei

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

govindarajan_d
Super User
Super User

Hi @Manigandan,

 

Can you please try this:

CorrectedSum = 
VAR __AllSumDivide = CALCULATE(SUM(Table[FirstColumn]),ALL(Table))
VAR __AllSumMultiply = CALCULATE(SUM(Table[SecondColumn]),ALL(Table))

RETURN SUMX(Table,DIVIDE(Table[CColumn],__AllSumDivide)*__AllSumMultiply)

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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

Fabric Community Update - June 2025

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