Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I'm having trouble finding the weighted average by month. I have the following data:
The solution I'm trying to get to is the column Weighted Avg.
Any help would be appreciated
Solved! Go to Solution.
So the solution was to build 2 measures:
% of Hist Total = sum('Table'[Hist Value])/sumx(all('Table'),'Table'[Hist Value])
Weighted Avg = sum('Table'[Hist AR Value])*'Table'[% of Hist Total]
@clarkpaul , Can you explain the formula?
So the solution was to build 2 measures:
% of Hist Total = sum('Table'[Hist Value])/sumx(all('Table'),'Table'[Hist Value])
Weighted Avg = sum('Table'[Hist AR Value])*'Table'[% of Hist Total]
I take the percentage of the Machines Sold by month to the total machines sold and multiply that result by the Feature Attach Ratio.
User | Count |
---|---|
79 | |
74 | |
62 | |
61 | |
45 |
User | Count |
---|---|
108 | |
100 | |
91 | |
83 | |
61 |