- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Need Cumulative Measure
I am trying to create a new measure that will calculate a cumulative total in either a table or matrix as well as give correct total in a card. In the attached pbix file the cumulative total for this small dataset should be 3. My verification counter measure has variables. I understand that the below measure works under normal circumstances but its not calculating accurately. Any help is appreciated!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Give this a try:
Cumulative = var endDate = MAX('Table1'[Day of Week ])
RETURN
CALCULATE(
[Verification counter],
ALL('Table1'[Day of Week ]),
'Table1'[Day of Week ] <= endDate
)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

THANK YOU BOTH! This works perfectly!!! What a great resource this platform is!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi, @cmcgo3
Thanks for @RossEdwards reply. You can refer to the following dax to solve the problem.
Cumulative =
VAR _table =
SUMMARIZE (
'Table1',
'Table1'[Day of Week ],
"Verification counter", [Verification counter]
)
RETURN
SUMX ( _table, [Verification counter] )
CumulativeVerificationCounter =
CALCULATE (
[Cumulative],
FILTER ( ALL ( Table1 ), Table1[Day of Week ] <= MAX ( Table1[Day of Week ] ) )
)
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

THANK YOU BOTH! This works perfectly!!! What a great resource this platform is!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Give this a try:
Cumulative = var endDate = MAX('Table1'[Day of Week ])
RETURN
CALCULATE(
[Verification counter],
ALL('Table1'[Day of Week ]),
'Table1'[Day of Week ] <= endDate
)

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
10-13-2024 08:38 PM | |||
05-22-2024 06:11 AM | |||
09-01-2024 07:40 PM | |||
08-13-2024 03:40 PM | |||
10-22-2024 03:45 AM |
User | Count |
---|---|
24 | |
13 | |
11 | |
10 | |
9 |
User | Count |
---|---|
18 | |
14 | |
14 | |
12 | |
11 |