Forum Discussion
kimrhansen
9 years agoFrequent Visitor
Calculate weighted average in total in Matrix visualization
Hi all, I would really appreciate your help with the following. I have some figures as in the following excel example. Instead of showing the total as a simple average i want to show it as a we...
- Anonymous9 years ago
Hi kimrhansen,
In Power BI Desktop, create the following measures in your table.
WeightedSum = SUMX(Table1,Table1[Sales]*Table1[Sales per FTE])
SumSales = SUM(Table1[Sales])
target = [WeightedSum]/[SumSales]Thanks,
Lydia Zhang
Anonymous
9 years agoNot applicable
Hi kimrhansen,
In Power BI Desktop, create the following measures in your table.
WeightedSum = SUMX(Table1,Table1[Sales]*Table1[Sales per FTE])
SumSales = SUM(Table1[Sales])
target = [WeightedSum]/[SumSales]
Thanks,
Lydia Zhang