Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have a requirement from the firm, which is to create a cummalative sum of values based on a target year. So the financial year we are using as a base target is 2019 which goes from 2018/06- 2019/05. The calculation needs to look like this if i drop Month-Year into a table:
I have a requirement from the firm, which is to create a cummalative sum of values based on a target year. So the financial year we are using as a base target is 2019 which goes from 2018/06- 2019/05. The calculation needs to look like this if i drop Month-Year into a table:
| Date | New Measure Month Value | Cummalative |
06- 2018 | 1000 | 1000 |
07 - 2018 | 150 | 1150 |
08 - 2018 | 125 | 1275 |
...... | .. | ... |
| 07 - 2021 | 150 (same as 2019 FY) | 100,000 |
| 08 - 2021 | 125 (same as 2019 FY) | 100,125 |
| 09 - 2021 | .... | ... |
My current working query looks like this:
@Anonymous , Try like this example
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected(date),date[date] <=maxx(date,date[date]) && date[Year] = 2019))
or
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected(date),date[date] <=maxx(date,date[date]) && year(date[Date]) = 2019))
Hi None of those measures worked. Thanks for trying.
Hi @Anonymous,
Can you please share some dummy data with a similar data structure then we can test to coding formula on it?
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 97 | |
| 76 | |
| 52 | |
| 51 | |
| 46 |