Forum Discussion
TOTAL without Filter
Hi,
I have a measure the sum weights for unique ID. It works fine in my matrix by categories.
My problem is that I need the TOTAL of the weight for all categories in order to make a percentage for each category.
What am I doing wrong ?
clem312 try this measure:
_Q72_Total = CALCULATE ( SUMX ( VALUES ( Q72[ID] ), [_Q72_Like] ), ALL ( Q72[Q72_correspondance.Q72_lib] ) )✨ Follow us on LinkedIn
Check my latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to 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.⚡
How about:
_Q72_Total = CALCULATE ([_Q72_Kike], ALL(Q72[Q72_correspondance.Q72_lib]))
8 Replies
- parry2kSuper User
clem312 try this measure:
_Q72_Total = CALCULATE ( SUMX ( VALUES ( Q72[ID] ), [_Q72_Like] ), ALL ( Q72[Q72_correspondance.Q72_lib] ) )✨ Follow us on LinkedIn
Check my latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to 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.⚡
- clem312Resolver I
- PaulDBrownCommunity Champion
How about:
_Q72_Total = CALCULATE ([_Q72_Kike], ALL(Q72[Q72_correspondance.Q72_lib]))
- clem312Resolver I
- parry2kSuper User
clem312 try this:
_Q72_Total = SUMX(ALL(Q72[ID]), [_Q72_Like] )✨ Follow us on LinkedIn
Check my latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to 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.⚡
- parry2kSuper User
clem312 interesting, share pbix file with sample data on how your tables are structured to provide the solution.
✨ Follow us on LinkedIn
Check my latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to 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.⚡
- clem312Resolver I