This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hello,
I am struggling to create weighted average as this case is sort of unusual. Essentially, most of the campaigns have multiple strategies where I want to create uplift weighted average across strategies for each campaign respectively. Once I have that I would like to create uplift weighted average across all campaigns per each month.
Any suggestions?
Thanks,
Z
Campaign Id | Strategy Id | Month | Budget | Booked Uplift |
63f5ebc348636621c86a4666 | 63f5ec3ef39e1f27e771b634 | March | 50000 | 23 |
63f5ebc348636621c86a4666 | 63f5ed4e48636621c86a46d | March | 20000 | 0 |
63f5ebc348636621c86a4666 | 63f77076f39e1f27e771b6d | March | 9000 | 2 |
63f5ebc348636621c86a4666 | 63ff45ffd9d5047da9f9ddde | March | 3000 | 11 |
638646475ff14c20d5065344 | 6389daa20720a332eb340se | March | 10000 | 4 |
638646475ff14c20d5065344 | 6389e202ad090878732f8cjg | March | 9000 | 68 |
638646475ff14c20d5065344 | 6389e25bad090878732f8cje | March | 64000 | 240 |
638646475ff14c20d5065344 | 6389f187ad090878732f8cjd | March | 1000 | 48 |
Weighted uplift =
var a = SUMMARIZE(Campaigns,Campaigns[Campaign Id],"bd",sum(Campaigns[Budget]),"ul",sumx(Campaigns,Campaigns[Budget]*Campaigns[Booked Uplift]))
return sumx(a,[ul])/sumx(a,[bd])
(you should use DIVIDE() to safeguard against division by zero)
see attached.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 29 | |
| 25 | |
| 25 | |
| 21 | |
| 13 |
| User | Count |
|---|---|
| 59 | |
| 50 | |
| 25 | |
| 20 | |
| 20 |