Forum Discussion

clem312's avatar
clem312
Resolver I
4 years ago
Solved

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 f...
  • parry2k's avatar
    4 years ago

    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.

  • PaulDBrown's avatar
    4 years ago

    How about:

    _Q72_Total = CALCULATE ([_Q72_Kike], ALL(Q72[Q72_correspondance.Q72_lib]))