Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
Corrected in excel formula is :=ROUND(C86/$C$98*$C$100,0) in B105 column formula in output table
My Output is
I need the above output Please share me anyone know that
Solved! Go to Solution.
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)
Hi @Manigandan ,
Please follow these steps:
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.
Hi @Manigandan ,
Please follow these steps:
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.
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)
User | Count |
---|---|
25 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
30 | |
13 | |
11 | |
9 | |
6 |