Forum Discussion
Distinct Sum
- 6 years ago
Anonymous try this
Measure = DIVIDE ( SUMX ( VALUES ( Table[Rate] ), CALCULATE ( MAX ( Table[Amount] ) ) ), MAX ( Table[Rate] ) )I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.⚡
Anonymous try this
Measure =
DIVIDE (
SUMX ( VALUES ( Table[Rate] ), CALCULATE ( MAX ( Table[Amount] ) ) ),
MAX ( Table[Rate] )
)
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.⚡
- Anonymous6 years agoNot applicable
parry2k , thank you.
The measure works when i have a month selected.
Is there a way to modify the formula to get the sum of all months when no month is selected?
Thanks.
- parry2k6 years agoSuper User
Anonymous it should work in both the scenario, what is not working when no month is selected?