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.
Hi , I am trying to get Month differnce values based total value average . when i created average dax measure after that applied in table . getting error.
i have attached sample PBI file
In excel sheet i have totally 8 count and total actuals value 17,377.944 . its average as per the excel
= 17.377.944 / 8
avg = 643.62.
instead of i am want get average total month. i am used below measure
please find the below screen shot .
i am to avg total value used all month like below
My formula
avg= calcuilate (SUM(Sheet1[actuals] - sheet[avg val]))/ Sheet1[actuals]
why i am getting every month different value , want use total avg for all month . looking for support,. thanks in advance
Solved! Go to Solution.
Hi @Anonymous
Try this,
DAX code:
test1 =
var _totalEachYear= CALCULATE( SUM(Sheet1[Actuals]),ALLEXCEPT(Sheet1,Sheet1[Year]))
return
IF(SUM(Sheet1[Actuals])>0,DIVIDE(_totalEachYear,12))
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
Try this,
DAX code:
test1 =
var _totalEachYear= CALCULATE( SUM(Sheet1[Actuals]),ALLEXCEPT(Sheet1,Sheet1[Year]))
return
IF(SUM(Sheet1[Actuals])>0,DIVIDE(_totalEachYear,12))
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , Try a measure like
CALCULATE(averageX(summarize(Sheet1, Sheet1[Year],Sheet1[Month], "_1", SUM(Sheet1[Actuals]),FILTER(Sheet1,Sheet1[Year]="2020")) ), [_1])
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 |
|---|---|
| 9 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 13 | |
| 9 | |
| 9 | |
| 8 | |
| 7 |