Forum Discussion

laythingy59's avatar
laythingy59
New Member
4 years ago
Solved

Weighted Average Help

Guys I'm really struggling with DAX and weighted Averages.  I sort of know what I'm doing in SQL, but I can't translate this into DAX. The new quick measure doesn't seem to work either.   I'm tryi...
  • Jihwan_Kim's avatar
    4 years ago

    Hi,

    I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.

    I tried to create a sample pbix file like below.

    I suggest having a calendar table like below.

     

     

    Weight Avg measure: =
    DIVIDE (
        SUMX ( Data, Data[Value proposed] * Data[Rate] ),
        SUMX ( Data, Data[Value proposed] )
    )