Forum Discussion

flunte70's avatar
flunte70
Icon for Helper I rankHelper I
8 years ago
Solved

calculate weighted index

I am trying to make a Measure where I want to calculate weighted index by the following formula:   Weighted CAP index = [CAP Index]*[Actuals]/"the Total of [Actuals]"   but I don't know how to re...
  • MFelix's avatar
    MFelix
    8 years ago

    Hi flunte70,

     

    Create a new measure and use it on your column:

     

    Height Total =
    IF (
        HASONEVALUE ( Data[Nummer] ),
        [Height],
        SUMX ( ALL ( Data[Nummer], Data[SC specifikation] ), [Height] )
    )

    Regards,

    MFelix