Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
*I'm simplifying the math involved and the numbers aren't really representative of what I'm calculating
In Excel,
1. I have a calculation for a 3 Month Average Rate. The calculation takes the average of the last 3 months and returns a value.
| jan | feb | march | |
| num | 5 | 2 | 6 |
| den | 10 | 23 | 5 |
| rate | 0.5 | 0.086957 | 1.2 |
3 Month Average Rate =
| 0.595652 |
2. I have a second calculation for that is 3 Month Average Rate * den
| jan | feb | march | |
| num | 5 | 2 | 6 |
| den | 10 | 23 | 5 |
| rate | 0.5 | 0.086957 | 1.2 |
| calc2 | 5.956522 | 13.7 | 2.978261 |
The 3 Month Average Rate stays static, but the den changes by month.
In Power BI,
1. I have a 3 Month Average Rate measure that calculates the average from the last 3 months.
3 Month Average (%) = CALCULATE(SUM('table'num)/Sum('table'den),DATESINPERIOD('Date'[Date], [Selected Date], -3, MONTH))2. I need to make a second measure that calculates 3 Month Average (%) * den, but the 3 Month Average (%) should be static and the den should be associated with the month it aligns to. How do I create a DAX measure that doesn't recalculate the 3 Month Average (%) by month and multiplies that by the changing den by month?
Solved! Go to Solution.
Hi @tasmiaa,
You can calculate the 3 Month Average Rate with a calculated column. While create a measure to multiply it with dynamical "den" values.
Regards,
Yuliana Gu
Hi @tasmiaa,
You can calculate the 3 Month Average Rate with a calculated column. While create a measure to multiply it with dynamical "den" values.
Regards,
Yuliana Gu
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 81 | |
| 48 | |
| 36 | |
| 31 | |
| 29 |