This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi all, i want to caculate cumulative average of column "Tổng nhân sự". I used dax:
Solved! Go to Solution.
Hi, @thanhnt2
I tried using measures to achieve what you want.
https://www.dropbox.com/s/ab6vpfzxjk2819l/Average_YTD%28allure-analytics.com%29.pbix?dl=0
Proud to be a Super User!
Hi, @thanhnt2
I tried using measures to achieve what you want.
https://www.dropbox.com/s/ab6vpfzxjk2819l/Average_YTD%28allure-analytics.com%29.pbix?dl=0
Proud to be a Super User!
Hi, @thanhnt2
CALCULATE(AVERAGE('NSLĐ'[Tổng nhân sự]),
ALL('NSLĐ'),'NSLĐ'[Date]<=EARLIER('NSLĐ'[Date]))
Did I answer your question? Please Like and Mark my post as a solution if it solves your issue. Thanks.
Appreciate your Kudos !!!
Proud to be a Super User!
Hi Allurenan
I try use your dax, but value need to break when pass the year.
your dax, sum all value in column.
@thanhnt2 , Based on level you want to do avg of sum, you need try a measure like this . Use date tbale with TI
example
CALCULATE(averageX(Values('Date'[Date]), calculate( SUM('NSLĐ'[Tổng nhân sự]))),DATESYTD('Date'[Date]))
Or Cumm
CALCULATE(averageX(Values('Date'[Date]), calculate( SUM('NSLĐ'[Tổng nhân sự]))) ,filter(allselected('Date'),'Date'[date] <=max('Date'[date])))
or
CALCULATE(average('NSLĐ'[Tổng nhân sự]),filter(allselected('Date'),'Date'[date] <=max('Date'[date])))
To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.
Check out the April 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 |
|---|---|
| 35 | |
| 32 | |
| 26 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 37 | |
| 33 | |
| 23 | |
| 23 |