Forum Discussion

Mercator_1980's avatar
Mercator_1980
Frequent Visitor
8 years ago
Solved

Calculation of weighted average by multiple groups

Dear all,   an excel has been imported to Power BI Desktop which contains the results of webdata per day.  Some of the values in column "Item" have been labeled falsely and where treated via Power ...
  • v-chuncz-msft's avatar
    8 years ago

    Mercator_1980,

     

    You just need to use measure below.

    Measure =
    DIVIDE (
        SUMX ( Table1, Table1[count] * Table1[price] ),
        SUMX ( Table1, Table1[count] )
    )