Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
When I mutiple two column and divid by 100 this will give correct result in calculate column.
When I doing same thing in Measure then I got wrong result.
Solved! Go to Solution.
You were on the right track with the use of SUMX. SUMX is an iterator and can give you the calculated column result but dynamically. Please try this measure instead
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Divide should be Sum(A)/Sum(B)
Multiplication should be sum(A*B)
Net Measure = SUMX('Skyline-SpinData','Skyline-SpinData'[Lines]*'Skyline-SpinData'[Bet])/100
Next Measure =
Var A = SUMX('Skyline-SpinData','Skyline-SpinData'[Lines]*'Skyline-SpinData'[Bet])
Return
DIVIDE(A,100)
Divide should be Sum(A)/Sum(B)
Multiplication should be sum(A*B)
Net Measure = SUMX('Skyline-SpinData','Skyline-SpinData'[Lines]*'Skyline-SpinData'[Bet])/100
Next Measure =
Var A = SUMX('Skyline-SpinData','Skyline-SpinData'[Lines]*'Skyline-SpinData'[Bet])
Return
DIVIDE(A,100)
You were on the right track with the use of SUMX. SUMX is an iterator and can give you the calculated column result but dynamically. Please try this measure instead
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
94 | |
75 | |
63 | |
62 |
User | Count |
---|---|
137 | |
105 | |
104 | |
80 | |
63 |