Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I followed the topic https://community.powerbi.com/t5/Desktop/Cumulative-sum-that-resets-every-year/td-p/994086 and created a measure, however, i am seeing a different result. Can someone please help. I just want a cumulative total by Date or Year and rest every Year
Solved! Go to Solution.
Hi,
I assume you want to create a calculated column.
Please try the below for creating a new column in the same table.
Calculated Column CC =
SUMX (
FILTER (
'Sheet1',
'Sheet1'[Year] = EARLIER ( 'Sheet1'[Year] )
&& 'Sheet1'[Date] <= EARLIER ( 'Sheet1'[Date] )
),
'Sheet1'[Headcount]
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Thank you so much!
Hi,
I assume you want to create a calculated column.
Please try the below for creating a new column in the same table.
Calculated Column CC =
SUMX (
FILTER (
'Sheet1',
'Sheet1'[Year] = EARLIER ( 'Sheet1'[Year] )
&& 'Sheet1'[Date] <= EARLIER ( 'Sheet1'[Date] )
),
'Sheet1'[Headcount]
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
Check out the May 2024 Power BI update to learn about new features.
User | Count |
---|---|
92 | |
83 | |
62 | |
62 | |
58 |
User | Count |
---|---|
157 | |
118 | |
103 | |
76 | |
66 |