The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
28 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |