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, I have two fields in my table. YYYY-MM which the year and month details. Due amount which has the due amount that is yet to come for respective year and month.
I need a Measure to find the Cumulative value which add the previous due amounts till the end. The first month will start with same due amount and from the next month the due amount gets added one by one.
Please help me to create a measure with DAX.
| YYYY-MM | Due Amount | Cumulative Value |
| 2021-01 | 1000 | 1000 |
| 2021-02 | 2000 | 3000 |
| 2021-03 | 3000 | 6000 |
| 2021-04 | 4000 | 10000 |
| 2021-05 | 5000 | 15000 |
Solved! Go to Solution.
Hi ,
Please try:
Measure = SUMX(FILTER(ALLSELECTED('Table'),'Table'[YYYY-MM] <= MAX('Table'[YYYY-MM]) ), 'Table'[Due Amount])
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi ,
Please try:
Measure = SUMX(FILTER(ALLSELECTED('Table'),'Table'[YYYY-MM] <= MAX('Table'[YYYY-MM]) ), 'Table'[Due Amount])
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous ,
a new column = sumx(filter(Table, [YYYY-MM] = earlier([YYYY-MM]) ), [Due Amount])
a new measure= sumx(filter(allselected(Table), [YYYY-MM] = max([YYYY-MM]) ), [Due Amount])
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 |
|---|---|
| 36 | |
| 28 | |
| 28 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 65 | |
| 35 | |
| 33 | |
| 25 | |
| 24 |