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
Hello everyone,
I need some help here...
I need to create a measure that calculates cumulative values starting by currently month but sum the past values.
Example:
Thanks
Solved! Go to Solution.
@danielmorais Maybe:
Measure =
VAR __Today = TODAY()
VAR __Start = DATE(YEAR(__Today),MONTH(__Today),1)
VAR __Month = MAX('Table'[Month])
VAR __Table = FILTER(ALL('Table'),[Month] <= __Month)
RETURN
IF(__Month < __Start,0,SUMX(__Table,[Value]))
@danielmorais Maybe:
Measure =
VAR __Today = TODAY()
VAR __Start = DATE(YEAR(__Today),MONTH(__Today),1)
VAR __Month = MAX('Table'[Month])
VAR __Table = FILTER(ALL('Table'),[Month] <= __Month)
RETURN
IF(__Month < __Start,0,SUMX(__Table,[Value]))
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 |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 13 | |
| 10 | |
| 8 |